Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLDISCONNECT(lnHandle) causes C00000005 error
Message
From
04/03/2004 08:15:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQLDISCONNECT(lnHandle) causes C00000005 error
Miscellaneous
Thread ID:
00883039
Message ID:
00883039
Views:
50
Simplified version of the program:
* Main prg
Public lnHandle
lnHandle = SQLCONNECT('SomeDataSource',.T.)

oMainForm = CREATEOBJECT('MainmenuForm')
READ Events

CLOSE Database
lnResult = SQLDISCONNECT(lnHandle)
And that's where it dies with a fatal exception

There used to be a problem like that in VFP 3.0, article 140613, but that's hopefully been fixed by now.


TIA
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform