Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLDisconnect
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01671032
Message ID:
01671033
Vues:
61
J'aime (1)
Hi,

It's a right...
Messagebox(m.con1)
SQLDisconnect(m.con1)
Messagebox(m.con1)
?SQLGETPROP(m.con1, "Asynchronous")
MartinaJ


>Sir I am using these codes to connect sqlserver database
>
>
>Pubic con1
>m.lcCONN1 = 'Driver={sql server}; server=SERVER\SQLEXPRESS;Database=' + m.db1 + '; Uid=sa; Pwd=123'
>lcCONN1 = STRT(lcCONN1,CHR(13),'')
>lcCONN1 = STRT(lcCONN1,CHR(10),'')
>con1 = SQLstringCONNECT(lcCONN1)
>
>
>
>Database connects successfully.
>
>Now I try to disconnect database with following codes
>
>
>Messagebox(m.con1)
>SQLDisconnect(m.con1)
>Messagebox(m.con1)
>
>
>Messagebox display same value both time.
>It means database does not disconnect.
>
>What I doing wrong?
>
>Please help
"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