General information
Category:
Reports & Report designer
>Where are you referencing "ThisForm" in the report? Is it an expression on a field object or inside the data environment. I should have mentioned that ThisForm doesn't work in the data environment but does work in field expressions, print when expressions, variables, and so on.
It's in a field object: Thisform.BizObj.GetHours(ReportCursor.PrimaryKey)
GetHours() requeries a separate view and returns a total from it. Data session and work area are properly saved and restored.
The rest of the report works fine, and I've worked around it by calling a global object to GetHours(), but it'd be cleaner to call the one in the report datasession.
Chris.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only