Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Table via SPT
Message
De
04/09/2002 09:20:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Creating Table via SPT
Divers
Thread ID:
00696566
Message ID:
00696566
Vues:
68
Hi,

I'm trying to create a table using SPT, with the sequence below. It does nothing, even returns an error.

Am I doing something wrong or it just can't be done?

TIA,

Fernando
 nSQLHandle = SqlConnect ("MyVFPDataSource")

 If nSQLHandle = -1
    MessageBox ("Connection failed")
    Return
 endif

 cObjtSQLcommand = "Create Table MyTable (Name C(40))"

 If SqlExec (nSQLHandle, cObjtSQLcommand) <> 1
    MessageBox ("SqlExec error")
 endif 
 
 SqlDisconnect (nSQLHandle)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform