Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table definition for CREATE CURSOR
Message
De
23/09/2005 12:30:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01052394
Message ID:
01052436
Vues:
8
A much, much easier solution is to incorporate an empty table with the correct structure into your application, and give it a cryptic name, like zzxxyy
Select * from zzxxyy into cursor yourcursor readwrite where .f.
>I am not saying it well. I want to add to my project a CREATE CURSOR command. The cursor I want to create is an exact match of another table that is not part of my project and not available to my application. So right now, in the project manager, I need to get the table definition of the VFP Free table and paste it as a CREATE CURSOR in my code. I do not want to hand type the CREATE CURSOR since it is a table with many fields.
>
>Brenda
>
>
>>Is this what you mean:
>>
>>USE your_table
>>=AFIELDS(aa)
>>CREATE CURSOR yy FROM ARRAY aa
>>
>>
>>>How can I get the table definition of a VFP free table to do a CREATE CURSOR from it? The table I want to copy from is not part of the project, but I need a table exactly like it in a section of code.
>>>
>>>
>>>Brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform