Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing form's properties inside a report
Message
From
18/06/1999 00:46:09
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00230268
Message ID:
00231228
Views:
19
Hello Nick

You are right. I can print fields like thisform.anyvar, but i cannot use them
in the init event of the report's dataenvironment because VFP says The object is not contained in the form (El objeto no esta contenido en el form)

My idea is that the user types some range or criteria in the form and
i filter records after opening tables (during init event of the report's dataenvironment) and before printing the report.

Finally, I am using normal memvar in the form's fields and releasing them during the form's unload event. If i don't do it, the variables become public and i don't like it.
This way, i can use those variables anywhere in the report and its dataenvironment's events.

Am i right? I hope you understand me. You all are very kind.

Thank you very much

Juan Carlos

>
>If you run the report from the form (or any form control code) THISFORM does not loose the scope. I use this approach all the time.
>
>Nick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform