Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Multiple Copies of the same Database in SFQuery
Message
De
30/01/2004 15:59:59
 
 
À
30/01/2004 10:41:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00869941
Message ID:
00872530
Vues:
13
>Hi Claude.
>
>>I should have been clearer, it is grayed out (disabled).
>
>If it's there but disabled, that means there's only one datasource in your application. Be sure that there are two AddItem statements in your GetDataSources script.
>
>Doug

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform