General information
Category:
Coding, syntax & commands
Title:
Attaching to a SQL Database
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only