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

Click here to load this message in the networking platform