Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attaching to a SQL Database
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Attaching to a SQL Database
Divers
Thread ID:
01295993
Message ID:
01295993
Vues:
61
Hi.
I have following commands:
strConn = "Driver=SQL Server;Server=GERARDXP\SQLEXPRESS;" +;
"Database=C:\MYFOLDER\MYDATABASE.MDF;Trusted_connection=yes"
lnHandle = SQLSTRINGCONNECT(strConn)

I get a -1 returned in lnHandle , but I can browse the table fine in SQL management Studio.

Anybody any idea of whats wrong?
Regards,
Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform