Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing records from a cursor...
Message
De
21/09/1999 10:37:09
 
 
À
21/09/1999 10:32:14
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00267084
Message ID:
00267086
Vues:
20
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform