Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00926767
Message ID:
00949187
Vues:
25
>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
Fil
Voir

Click here to load this message in the networking platform