>Hi Everyone:
> I want to create a table with 32 fields in a tabel. The number of fields in a table could be varry. I am using a For loop to do this,however, it is not working. Can someone please tell me what I am doing wrong?
>
>**Code
>CREATE TABLE salesman ;
> For i = 1 to lnCount && lnCount has the number of fields in a given table.
> ('Field' + Str(i) c(20))
> EndFor
>
>Thanks
>MA
So you have a table that already has the structure you need?
If that's the case, this would be much easier
Use existing_table
AFields(laFields)
Create Table salesman From Array laFields
Insanity: Doing the same thing over and over and expecting different results.