Thursday, February 16, 2012

Add a function a report

How i can add a function to a report and use to put in a textbox

Like

Public Function Area(radius)

return 3.14*radius*radius

End Function

Thanks

vgta,

from your report click on Report
then choose Report Properties...

From there you will see a CODE tab. Enter your function here.

The expression of your textbox will be Code.functionName
Using your example it would be Code.Area(radius)

Bret

No comments:

Post a Comment