Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM......NAME...LINKED
Message
 
 
To
27/05/1998 17:35:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102548
Message ID:
00102555
Views:
24
Trisha,

>LOCAL loCompany
>DO FORM selectco NAME loCompany LINKED

You don't need LINKED, the form would destruct when the local memvar goes out of scope.

>Form selectco has user defined properties of lretval, cCompany & cReportHeader.
>
>Will specifiying loCompany.lretval, loCompany.cCompany & loCompany.cReportHeader in the report's init event allow me to act upon the values assigned to these properties? I am not releasing the form, I am hiding it.

It should do just fine referencing those object properties, just make sure the memvar doesn't go out of scope while the report is running.

>I would like the value of cReportHeader to be used in the report. How do I code this in the report's init event & on the report to print the value assigned to this property in the form?

The report can have a value field dropped onto it with an expression: loCompany.cReportHeader
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform