Default parameters on Passthru functions
Hi there,
Is it possible to create a passthru function with default\optional parameter
?
e.g.
function CanItBeDone (Param1:String; Param2:Double ; Param3 : Boolean =
true):Boolean;
in my RAP Code, I should be able to simply call:
CanItBeDone('foo',1)
or
CanItBeDone('foo2',2,false)
without ReportBuilder complaining about the 3rd parameter missing.
Thanks
Peter
Is it possible to create a passthru function with default\optional parameter
?
e.g.
function CanItBeDone (Param1:String; Param2:Double ; Param3 : Boolean =
true):Boolean;
in my RAP Code, I should be able to simply call:
CanItBeDone('foo',1)
or
CanItBeDone('foo2',2,false)
without ReportBuilder complaining about the 3rd parameter missing.
Thanks
Peter
This discussion has been closed.
Comments
Default parameters are not supported for RAP pass-thru functions. This
is a feature we will consider researching for a later release of
ReportBuilder.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com