Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection for DBC created on the fly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00798547
Message ID:
00798572
Vues:
25
It is set up on that way the server as well. The connection in the DBC works properly if I create it on site. I simply can't re-create it programmatically.

Here's what GenDBC created from the original DBC:
CREATE CONNECTION CONNECT1 ;
DATASOURCE "MyDataSource" ;
USERID "" ;
PASSWORD ""

Also specified in that connection dialog was a database name which GENDBC didn't use

I'd like to do something more along the lines of:
CREATE CONNECTION CONNECT1 ;
CONNSTRING "DRIVER=SQL Server;
SERVER=MyServer;
NETWORK=DBMSSOCN;
DATABASE=MyDatabase;
Trusted_Connection=Yes"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform