runtime dataset

I need to assign data from a datatable to a report i have designed in report designer.
While designing report i have used a simple query so that i can use the fields required.
In run time i am using the same query with some additional parameters(Which were not used while designing).
I am creating / populating a datatable in code using the above query with parameters.
While running the report i found that parameters are working ok and data are filetered as per the query and parameters are used properly.
However Fastreport still displays all the records (obiviously its still fetching data as per sql in ther report)
instead of only those record which satisfied parameters in query .
After populating datatable i am using
report.registerdata(dt,datasource name in the fastreport while designing).
Can someone please suggest me how i should go about working on the report so that it displays data according to datatable created .
I have read entire help docs in FastReport.net and seen the example that is posted here .
But none seems to be working.
Thanks

Comments

  • edited 4:32PM
    Hello,

    Could you send me the report file (.frx) and the piece of code where you register a data? You may send it to tz@fast-report.com.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.