Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Cursor from table structure
Message
From
02/08/2011 18:06:23
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
02/08/2011 17:54:59
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01519977
Message ID:
01519981
Views:
50
>Anyone know of a utility to generate a CREATE CURSOR command from a table structure? I thought I've run across one over the years, but I can't find it now. This is just a one-time thing I could do manually, but there are a lot of fields in the table, so if there is a utility out there, I'll use it.

You could look at the GenDBC.prg that ships with VFP. Don't know if it works on a single free table but it might be useful.

UPDATE: no, it doesn't work on a free table - it requires a .DBC.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform