Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attaching to a SQL Database
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01295993
Message ID:
01296008
Views:
11
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform