Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLDisconnect
Message
 
To
22/09/2019 07:31:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01671032
Message ID:
01671033
Views:
60
Likes (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
Previous
Reply
Map
View

Click here to load this message in the networking platform