>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