You could write an x++ select using like to extract all the recids that
matched your select and then set a queryrange on the recids. If you go
more than 255 I think? You would just add a second range on recid again
keeping adding recids.  You might want to set some sort of max recs. 



-----Original Message-----
From: wohegro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 6:19 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] QueryRange expressions

hi all,

does anybody have a solution for the following problem:
I want to build a query (on runtime) with several rangefields.
all rangesfields are text-fields (!).
I want to OR all the ranges as described in technet

http://technet.navision.com/default.asp?
MenuFunctionName=EISNewsArticle&MenuFunctionType=Output&NEWSID=351

all works well if the value for the ranges are defined like
     ((MyField1 == "Rin") || (MyField2 == "Tin") || (MyField3
== "Tin"))

BUT I can't make it run when using wildcards ("*" and "?") like
     ((MyField1 == "R*") || (MyField2 == "T*") || (MyField3 == "T*"))

any ideas...?

thank's in advance!
wolfgang





Yahoo! Groups Links






Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to