Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logon to SQL Server from VFP passing info to crystal reports
Message
From
27/06/2005 16:07:21
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Logon to SQL Server from VFP passing info to crystal reports
Miscellaneous
Thread ID:
01026860
Message ID:
01026860
Views:
65
I created a system DSN ODBC connection to SQL Server using SQL server authentication. When I test the the connection it says it is successful.
When I try to connect to the server to pass crystal reports the parameters
I get an error "20599 Cannot open SQL Server". I know it must be authentication related because it works when I set the dsn connection to use windows authentication.
I am using the following code
OLECONTROL1=CREATEOBJECT("Crystal.CrystalReport")
I know I have to pass crystal the SQL login name and password but I cannot figure out which method to use and also what syntax to use ?

Thanks For Your Help !
Stephen J. Hunt
Next
Reply
Map
View

Click here to load this message in the networking platform