Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table definition for CREATE CURSOR
Message
From
23/09/2005 12:30:43
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01052394
Message ID:
01052436
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform