Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic SQL Insert
Message
From
23/01/1997 23:13:57
 
 
To
22/01/1997 17:54:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018130
Message ID:
00018294
Views:
40
thanks michel,

i found another way, i'll compare it with your suggestion.
am wonder what the pros/cons of each are IYHO, of course.

>>Is it possible to create dynamic SQL on the fly ...
>
>You can put everything in a variable lcSql and execute it with &lcSql.

at this point i've got an 2-d array populated with potential field names (col1) of the table register and their values(col2).

FOR len
m.&laRegister[m.i,1] = laRegister[m.i,2]
NEXT

...
INSERT INTO register FROM MEMVAR


tia, kim
Previous
Reply
Map
View

Click here to load this message in the networking platform