Hi,
I am creating an MDI application where each tab will display various database information. All of the data comes from the same database so i have a single dataset that my tabs get their data from. Each tab uses only a small fraction of the dataset but may also display some of the same data that another tabs displays (ie Project info). Each tab has a report designer/viewer that can display tab sensitive data. I bind my report to the tab's dataset. The desiger displays all of the available tables and fields in the report designer. Many of these tables are empty because the tab does not use them. I am about to write code that will remove unnecessary tables and fields from the designer but before i do i wanted to ask this:
How would you handle this? Would you do the same and use a single dataset that each tab uses or would you have created individual datasets for each tab even though some of the datasets would require the same tables and queries?
Having individual datasets would certainly simplify the report databinding but would also create duplicate data and code.
Any suggestions?
Thanks.
I am creating an MDI application where each tab will display various database information. All of the data comes from the same database so i have a single dataset that my tabs get their data from. Each tab uses only a small fraction of the dataset but may also display some of the same data that another tabs displays (ie Project info). Each tab has a report designer/viewer that can display tab sensitive data. I bind my report to the tab's dataset. The desiger displays all of the available tables and fields in the report designer. Many of these tables are empty because the tab does not use them. I am about to write code that will remove unnecessary tables and fields from the designer but before i do i wanted to ask this:
How would you handle this? Would you do the same and use a single dataset that each tab uses or would you have created individual datasets for each tab even though some of the datasets would require the same tables and queries?
Having individual datasets would certainly simplify the report databinding but would also create duplicate data and code.
Any suggestions?
Thanks.