Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Table via SPT
Message
 
À
04/09/2002 09:20:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00696566
Message ID:
00696569
Vues:
13
>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)
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform