Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Multiple Copies of the same Database in SFQuery
Message
De
03/02/2004 12:35:40
 
 
À
03/02/2004 12:07:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00869941
Message ID:
00873491
Vues:
10
>Hi Claude.
>
>>This is the code for "GetDataSources"
>>
>>lparameters toApplication, toDatabase
>>local loDataSource
>>loDataSource = toDatabase.DataSources.AddItem('VFP', 'My Datasource 1')
>>loDataSource.Database = 'c:\apps\medstvfp7\medstvfp.dbc'
>>loDataSource = toDatabase.DataSources.AddItem('VFP', 'My Datasource 2')
>>loDataSource.Database = 'k:\medstkvfp.dbc'
>>
>>based on your previous posting. k is the letter to which network drive is mapped. Data dicitionary for local drive is already entered.
>
>I checked the code for the Open Databases menu item and think I see the problem: ensure your database is flagged as the "main" database. To do that, select the database's node under the Data Dictionary section and turn on the Main Database property.
>

The check box for "Main Database" is checked. If I uncheck it I get an error message that no databases are avialalble for querying"

>Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform