CR 9/10/11 SQL Server 2K/2K5 (I use them all)
I have 4 subreports in a report. One of the sub reports has a different datasource (ODBC/server/database) depending on the Company. Therefore, I have to change this one subreport for each company. Rest of the main & other sub reports are all the same for every body. Thus I end up maintaining 3 versions (since we have 3 companies this sub report is changed for). I have to login twice -one for each ODBC for each version separately. The report works fine.
Is there a way I can consolidate this into one version? I mean putting all 3 different versions of this particular sub-report in one report and invoking the relevant sub report at login (depending on the company). It should prompt me for which company I belong to via a parameter or some thing. For example, if I respond Comapny-A it will open the ODBC login for Company-A. If I respond Company-B it will open the ODBC for Comapny-B etc.
The object is only one report version and only one of this particular sub report at run time. Every body runs the same report but gets the relevant login and data with out having to have different/separte versions for each.
Is it possible? (On-demand subreport is not an option since it won't maintain the integrity of the sequence.
I have 4 subreports in a report. One of the sub reports has a different datasource (ODBC/server/database) depending on the Company. Therefore, I have to change this one subreport for each company. Rest of the main & other sub reports are all the same for every body. Thus I end up maintaining 3 versions (since we have 3 companies this sub report is changed for). I have to login twice -one for each ODBC for each version separately. The report works fine.
Is there a way I can consolidate this into one version? I mean putting all 3 different versions of this particular sub-report in one report and invoking the relevant sub report at login (depending on the company). It should prompt me for which company I belong to via a parameter or some thing. For example, if I respond Comapny-A it will open the ODBC login for Company-A. If I respond Company-B it will open the ODBC for Comapny-B etc.
The object is only one report version and only one of this particular sub report at run time. Every body runs the same report but gets the relevant login and data with out having to have different/separte versions for each.
Is it possible? (On-demand subreport is not an option since it won't maintain the integrity of the sequence.