Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection string
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01045982
Message ID:
01045988
Views:
32
>I'm not sure how to write this type of connection string in VFP
>
>sqlc(Provider = sq;oledb;Data Source=ip,port;Network Library=DBMSSOCN;Initial Catalog=dbname;user ID=sa;password=pass;)
>
>
>It keeps telling me my connection string is invalid, dont know what I'm doing wrong?

You need to make it a string

sqlc("Provider = sq;oledb;Data Source=ip,port;Network Library=DBMSSOCN;Initial Catalog=dbname;user ID=sa;password=pass;")
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform