Hello,
I have hard coded the creation of of a database using DBCREATE(cDBFName, aDbf, "DBFNTX"
. This works fine.
I am having trouble doing it dynamically. Specifically, how can I change the value of my array for the field specs.
// aDBF[TotalFields][FieldProps(4)]
local aDBF[5][4]
I think this is really a question on variables and array sizing. If I declare a local array (aDBF) for the structure how can I later set it to the proper number of fields to be created?
Thanks,
Michael42
I have hard coded the creation of of a database using DBCREATE(cDBFName, aDbf, "DBFNTX"
I am having trouble doing it dynamically. Specifically, how can I change the value of my array for the field specs.
// aDBF[TotalFields][FieldProps(4)]
local aDBF[5][4]
I think this is really a question on variables and array sizing. If I declare a local array (aDBF) for the structure how can I later set it to the proper number of fields to be created?
Thanks,
Michael42