how to use filter condition ?

mohanarajmohanaraj 600001
edited 5:44AM in FastReport .NET
Hello

I want to filter the data in the data band. i use [dtOrgLevelsummary.ParentId]< 1 in the filter tab.
when i run the report it threw an exceprion as "Specified cast is not valid. "

I checked the shema file for dtOrgLevelsummary.ParentId, it is in long datatype.

How i can filter data ?

thanks in advance.

Comments

  • edited 5:44AM
    Hello,

    Select dtOrgLevelsummary datasource, select its ParentId column, then set its DataType property to Int64.

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.