Link Subreport
I have a main report that has embeded subreport, both designed to use typed dataset (Push Model). The main report links to subreport through a UserID database field, and I assign datasource to both report at runtime by using ReportDocument.SetDataSource(). When I view the report using CrystalViewer control, it prompts me to enter parameter discret value. How do I suppress this dialog? I read a book that says the parameter that links the main report and subreport is supposed to happen automatically behind the seen.
If I the main report is using a Pull, selecting record from a table at design time, then the parameter prompt doesnât appear.
Thank you, in advance, for your help
|