Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00926767
Message ID:
00949187
Views:
24
>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
Map
View

Click here to load this message in the networking platform