Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Bug with dtBoolean report parameters

Today i used a Boolean parameter for the first time in a report in an end user reporting application.

I just created an empty report with a boolean parameter:
image

But this code does not compile, it gives "incompatible types".
image

Are you aware of this or am i doing some mistake?

Thanks.

Comments

  • Hi Francesco,

    Report parameters are objects of the TppParameter type which is why you are getting the error.

    If you are having issues compiling in RAP, I suggest trying your code in Delphi first so you can use features such as code insight to see the available properties for each object used.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • image

    Got it, thanks!

    It would be nice that by default auosearch dialog shows a boolean parameter as a checkbox, because now it shows
    image
    that is ok for a developer, but for an end user not.

    Thanks.
Sign In or Register to comment.