Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert table structure to create cursor
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00717941
Message ID:
00717945
Views:
18
You can use SELECT statement to do that.
SEELCT * ;
  FROM mytable ;
  WHERE 1=2 ;
  INTO CURSOR crsMycursor READWRITE
>Is there a fast way to create a new cursor by copying the table structure field name and character type. I have a temporary table that has 157 fields, and I now want to use a temporary cursor. However, I have so many fields to define for cursor and was wondering the quickest way to create cursor definition from existing table stucture.
>
>Thanks
>Nick Patel
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform