on 02-01-2007 10:31 AM
Hi all.
My problem is next: I have the next sentence with parameters:
SELECT DocNum,CreateDate,CardCode,CardName,DocTotal,ObjType FROM OINV T0 where T0.Project like '%[%0]' and T0.CreateDate >= '[%1]' and T0.CreateDate <= '[%2]'
UNION ALL
SELECT DocNum,CreateDate,CardCode,CardName,DocTotal,ObjType FROM OPCH T1 where T1.Project like '%[%0]' and T1.CreateDate >= '[%1]' and T1.CreateDate <= '[%2]'
When i run this appear the parameter window to input values.If i push in the button of 'existing values' ONLY appears the existing values of OINV table (the table that appears before the 'UNION ALL'). And if I use the UNION ALL the result is good but not appear the orange arrows, the result have that limitation. I supose if i try to transform the sql sentence IN ONE SELECT will work well.
Can i quit the button 'existing values'?but not via addon.
Any idea?
Thanks for attention.
Regards.
Thank you for the reply.
With that trick the orange arrows appear but i have the same problem y the button of 'existing values', only show the existing values of the first table of the UNIONS. I can quit that button without DI/UI API????
Thanks Denis.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.