Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logon to SQL Server from VFP passing info to crystal rep
Message
De
27/06/2005 16:43:13
 
 
À
27/06/2005 16:07:21
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
01026860
Message ID:
01026867
Vues:
16
You're using an outdated Crystal control. You should look at the RDC instead. There are articles on my web site to get you started with it.

>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform