select * from ccli where clcode="GMW" INTO CURSOR/ARRAY/ noconsole will return _Tally with no browse Jerry
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gianni Turri Sent: Saturday, July 18, 2009 5:19 AM To: [email protected] Subject: Re: SQL SELECT with No Results On Fri, 17 Jul 2009 22:42:26 -0700, Gene Wirchenko <[email protected]> wrote: >Hello: > > I am coding some validation and I simply wish to know if >certain rows exist. I do not want to know what they are. Is there >any way of coding the select statement so I do not get any >results? I would just like to interrogate _tally. > > What does SELECT ... NOCONSOLE do anyway? > select * from ccli where clcode="GMW" noconsole >brought up a browse. > >Sincerely, > >Gene Wirchenko Hi Gene, the correct syntax is: select ... to screen noconsole if _tally > 0 ... endif -- Gianni [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/bc8db0cfda894d399a81a0ce13b5e...@laptop ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

