Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Table In Code?
Message
From
06/09/1999 19:53:38
 
 
To
06/09/1999 19:51:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00261818
Message ID:
00261819
Views:
18
>can this be done?
>
> I have in mind being able to write something like:
>
>create table 'mytable' with fields 'Mydate':D, 'MyRef':C:15,'MyNum':N:10.2 indexed on MyDate, MyNum
>
>we cant use Sql because in the kind of context I am thinking of, the field name might often be extracted from the data - for instance Sales Reps names...
>
>eg
>
>create table 'mytable' with fields 'Commission':N:10.2, Rep1:C:20,Rep2:C:20,Rep3:C:20 etc...
>
>or, for example creating edi forms to suit a supplier using template details provided by them but stored in your data...
>
>eg
>
>create table 'mytable' with fields theirfield1:theirtype1,theirfield2:theirtype2, theirfield3,theirtype3 etc
>
>did I see a thread somewhen on this?
>
>or did I dream it?
>
>Harry


Try using the CREATE TABLE in VFP

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform