MrFancyteeth
Programmer
I'm trying to create a common structure for several dbf files. The Fieldname,Fieldtype and fieldwidth are stored in a cursor.
i'm then scanning through the cursor and using SQL alter table to modify and existing table structure
SELECT curstrus
scan
cfname=curstrus.fname
cftype=curstrus.ftype
nfsize=curstrus.fsize
ALTER TABLE tabresult ADD COLUMN &fname &ftype(&nfsize)
ENDSCAN
The problem occurs in the field size (&nfsize) part
any ideas?
mrF
i'm then scanning through the cursor and using SQL alter table to modify and existing table structure
SELECT curstrus
scan
cfname=curstrus.fname
cftype=curstrus.ftype
nfsize=curstrus.fsize
ALTER TABLE tabresult ADD COLUMN &fname &ftype(&nfsize)
ENDSCAN
The problem occurs in the field size (&nfsize) part
any ideas?
mrF