There is a report. Depending on the condition, it can be based either on one sample or on the other, or both samples should be combined. The number of fields is identical, the difference is only in the data source. Report built in fast report. In c #, the request is executed and xml, and xsd files are thrown in fastreport.

How do I implement, depending on the condition, that the report be built on different samples and both together? In fastreport already created 2 data sources. What to do next until I can not understand.

  • 3
    mb the stored procedure with the parameter will solve your problem? You will always have one data source, which will decide where and what to take, and how to show it - teran
  • @teran, the procedure is not suitable, you need to solve it with a query. Something like fastreport means you can implement what I want. So I would like to know. - Andrei
  • @teran and how you offer it? For fun. Here I have an aspx page. From there, the xsd scheme is sent to the fast report. And the results of the sample query. But depending on the case, the requests are different and to different tables. How can I distinguish between? Which fast report will process the request? And which data source will be used. The whole snag in the fast report. - Andrei
  • Duck here is this case and cram it into storage - teran
  • those. Do you just need to print essentially two reports in a row in the case of "both together"? - 4per

0