Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table
Message
From
14/12/2000 14:02:40
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Table
Miscellaneous
Thread ID:
00453520
Message ID:
00453554
Views:
21
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform