Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement