Setting the stage:
Our corporation uses FoxPro / VFP .DBF tables to store data.
Each client has an assigned folder on our network.
Each client has the same list of tables in their hierarchy.
Our corporation also has mandated SQL Server Reporting Services for our reports.
I have written reports for a single client, each data source being an OLEDB connection to a .DBF file
The problem:
I need to make the reports available for all clients.
I don't want to create >200 reports that all do the same thing except reference identically structured .DBF files
I have created a data source and parameter for the lookups of each client, and what I'd like to do is something along the lines of the following pseudocode:
on_Client_Change:
datasource1.fullpath = newclientrootfolder + "table1.DBF"
datasource2.fullpath = newclientrootfolder + "table2.DBF"
datasource3.fullpath = newclientrootfolder + "table3.DBF"
I can't find any reference to doing such a thing; dynamically changing the datasource
..or perhaps there is another/better way to achieve the same ?
Our corporation uses FoxPro / VFP .DBF tables to store data.
Each client has an assigned folder on our network.
Each client has the same list of tables in their hierarchy.
Our corporation also has mandated SQL Server Reporting Services for our reports.
I have written reports for a single client, each data source being an OLEDB connection to a .DBF file
The problem:
I need to make the reports available for all clients.
I don't want to create >200 reports that all do the same thing except reference identically structured .DBF files
I have created a data source and parameter for the lookups of each client, and what I'd like to do is something along the lines of the following pseudocode:
on_Client_Change:
datasource1.fullpath = newclientrootfolder + "table1.DBF"
datasource2.fullpath = newclientrootfolder + "table2.DBF"
datasource3.fullpath = newclientrootfolder + "table3.DBF"
I can't find any reference to doing such a thing; dynamically changing the datasource
..or perhaps there is another/better way to achieve the same ?