Filter

How to filter data when data is sent to a report to display only records that meet the criteri.

Comments

  • edited 2:13PM
    Hi, I forgot to mention. I ma not runing this as a stand alone program. I am using the component within a WinForm using VB.Net and I wuld like to know how the coding should be on load of the report in order to send a criteria or variables based on the windows form that is opened. The criteria variable would be picked from the form that is opened and when a button is pressed from the form the variables need to be sent to the report and the dataset used needs to be filtered by these variables.

  • edited 2:13PM
    You need to pass a value from your program to the FastReport parameter. See programmer's manual:
    "Working with Windows.Forms/Passing a value to a report parameter"
    Then you may use that parameter in a filter condition.

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.