>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.
>
>Thanks.
I think something like this will do the job.
USE TABLE
AFIELDS(laStructure)
CREATE CURSOR c_test from ARRAY laStructure
[Update]
Another way is to just use SELECT
SELECT * FROM TABLE INTO CURSOR C_TEST READWRITE
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges