Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid Connection Handle in CA...
Message
De
30/05/2003 17:47:06
 
 
À
30/05/2003 17:29:50
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00794772
Message ID:
00794779
Vues:
11
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform