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:
But this code does not compile, it gives "incompatible types".
Are you aware of this or am i doing some mistake?
Thanks.
I just created an empty report with a boolean parameter:
But this code does not compile, it gives "incompatible types".
Are you aware of this or am i doing some mistake?
Thanks.
Comments
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Got it, thanks!
It would be nice that by default auosearch dialog shows a boolean parameter as a checkbox, because now it shows
that is ok for a developer, but for an end user not.
Thanks.