Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hint needed
Message
From
28/04/1998 02:06:35
 
 
To
28/04/1998 01:55:36
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00095308
Message ID:
00095310
Views:
20
>Is it possible to create tables on the server database from Visual FoxPro.
>
>If possible, please give me a hint !

Benn,

It is possible - you can create both temporary or permanent tables. Simply issue the CREATE TABLE command along a connection:

lnHandle = SQLCONNECT( 'MyConn', 'sa', 'password')

lnResult = SQLEXEC( lnHandle, 'CREATE TABLE MyTable (....)')

If you want a temporary file (one that gets automatically deleted when the connection is lost), add a # to the fornt of the name of the table

HTH
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform