Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxyPreviewer listener object reference for UDF
Message
From
26/05/2020 07:26:11
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01674531
Message ID:
01674580
Views:
100
>I have a report that needs to calculate some data based upon the reportlistener currentpass property. My UDF is called from the on exit expression in my group footer. Once in the UDF, I see that FoxyPreviewer creates a listener variable that looks randomly generated. When I created my own listener in the past, I had assigned it a variable upon creation and could reference that. FoxyPreviewer doesn't seem to do that. Does anyone know an easy way to reference the listener, or where the best place would be to add a reference to it in my application object at runtime?
Steve,
You need to print some variable in a report, based on a calculation? FoxyPreviewer should not bother you doing so.
Are you able to do your job without FoxyPreviewer?
If that works, you could use same the technique with FP.
If not please upload a sample report with some sample data to see/work for us to accomplish your task. In which case also indicate how you would like the report to be.
Stay healthy,
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform