Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Multiple Copies of the same Database in SFQuery
Message
From
30/01/2004 15:59:59
 
 
To
30/01/2004 10:41:58
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00869941
Message ID:
00872530
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform