I've got a friendly simple window to run queries from, and it outputs its' results via Popup.
I'd like to be able to optionally restrict the results set to a sample, say the first 20 hits, to prevent a long wait when querying large tables.
Is there any way to do it? I've done it in Rlist, but can't find out how to do it within the Popup function
Here's my code…
ary="ary=fileNameary=selectionCriteriafor cPos=1 to colsCntdictName=selectedColsread dictAry from hDictFile, dictName thencolWidth=dictArydictHdr=dictAryconvert @tm:@vm:@svm to " " in dictHdrdictHdr=trim(dictHdr)ary=dictName :@svm: colWidth :@svm: dictAry :@svm: "C" :@svm: dictAry :@svm: dictHdrendnext cPOsary=T"ary=0"ary=List ":fileNameary=1ary=1any help much appreciated :)
Ross,
Execute your RList statement first limiting the number of rows found (e.g. "SELECT 20 CUSTOMERS WITH like whatever …" ) and then get the popup to work from the resulting active select list instead.
World leaders in all things RevSoft
Nah, that's far too obvious!
(D'oh!)
Thanks for your help
Ross
====