Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Multiple Copies of the same Database in SFQuery
Message
From
28/01/2004 12:04:43
 
 
To
28/01/2004 10:42:51
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00869941
Message ID:
00871447
Views:
18
Hi Claude.

>I created the following script (based on your post)
>
>lparameters toApplication, toDatabase
>local loDataSource
>loDataSource = toDatabase.DataSources.AddItem('VFP', 'My Datasource 1')
>loDataSource.Database = 'c:\medstkvfp7\medstkvfp.dbc'
>loDataSource = toDatabase.DataSources.AddItem('VFP', 'My Datasource 2')
>loDataSource.Database = 'k:\medstkvfp.dbc'
>
>where "K" is drive letter for the mapped folder on the server. I still only see the tables on the "C" drive. What did set "allow multiple data sources" to true. What am I missing?

Is there an Open Database function in the File menu? If so, when you select that function, does the dialog show the two data sources? If so, choose whichever one you want for a report.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform