Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attaching to a SQL Database
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01295993
Message ID:
01296008
Vues:
12
You should use AERROR() function to return detailed info about ODBC error

>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform