Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal ActiveX Control Methods
Message
De
24/04/2002 13:21:52
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
Information générale
Forum:
Visual Basic
Catégorie:
Produits tierce partie
Divers
Thread ID:
00648703
Message ID:
00648778
Vues:
15
The Connect property is used to connect to SQL servers or ODBC sources by default so you don't have to specify the driver. Based on your example then you would want the following:
crptName.Connect = "DSN=" & ServerName & ";UID=sa;PWD=pass;DSQ=" & DatabaseName
Note: Use the Connect property when the report connects to only a single ODBC data source or SQL server, and only a single set of log on information is required. If the report connects to multiple data sources that require different log on information, use LogOnInfo Property.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform