General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
You can do a second SELECT-SQL from the first one.
SELECT * FROM MyTable WHERE MyFieldA = 1 INTO CURSOR Temp
...
SELECT * FROM Temp WHERE MyFieldB = 2 INTO CURSOR Temp
HTH
>I created a cursor to be used in a report built off of several files. Some records are basically not needed because several fields (8 to be exact) have 0.00 balances in them. The client would prefer these records not be listed. Right now, I have accomplished this by using the FOR statement in the REPORT call and listing a large list of record/field comparisons to exclude from the report (FOR begbal<>0.0 or endbal<>0.0...).
>
>Is there a way to remove records from a cursor after the SELECT statement created it?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only