Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a cursor with predefined structure
Message
De
02/10/2001 08:10:55
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
01/10/2001 16:43:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00562758
Message ID:
00562922
Vues:
26
>>Hi everybody,
>>
>>Say, I have a table with 60 or more fields. I want to create a cursor with the same structure. Is there a native VFP command, which would allow me to do that? I could not find it in Help. Of course, I have a workaround like building CREATE CURSOR statement on the fly using afields() and iterating through all fields, but it seems to be an overkill...
>>
>>Thanks a lot in advance.
>
>
>select * from myTable where 1=0
>
>
>Will that work?

You can also do:
Select * From myTable Where .F.
Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform