Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I substitute SELECT for SET FILTER?
Message
De
11/05/1999 07:14:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00216728
Message ID:
00217106
Vues:
27
>>I want to use a SELECT statement to get a group
>>of records instead of using SET FILTER. I want to make changes
>>to these records and save the changes. Can you do that with a
>>SELECT statement and how would I code something like that.
>>
>>Example:
>>SELECT * FROM mytable WHERE myfld = 3
>>Make changes to mytable and then put the mytable back to include all the records...
>>SELECT * FROM mytable
>>
>>thanks
>
>SELECT won't work here as the resultant set of data is read only in a separate cursor. Your best bet here would be to use a view. In conjunction with buffering, you will be able to do what you want.
--------------
Hi Nigel and thanks for your reply...
Could you give me a small sample in code of what you mean?
thanks
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform