Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid Connection Handle in CA...
Message
From
30/05/2003 17:47:06
 
 
To
30/05/2003 17:29:50
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00794772
Message ID:
00794779
Views:
12
>
>PUBLIC nID
>cStringConnect =("DRIVER={SQL Server};SERVER=BOSS700;UID=sa;PWD=sa;DATABASE=Vitoria;Network=DBMSSOCN")
>nID = SQLStringConnect(cStringConnect)
>DO FORM ca_vitoria_teste
>
Above you are putting the connection into a PUBLIC variable "nID"...

>Info about CA in the App Form
>The CA is a subclass of a CA base class (Based on Mark's CABuilder)
>Alias = ca_bancos
>DataSourceType = ODBC
>DataSource = oODBC.nID

Here, you are setting the data source to the "nID" property of the oODBC object, which is NOT the same as the nID public variable.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform