Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM......NAME...LINKED
Message
 
 
À
27/05/1998 17:35:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00102548
Message ID:
00102555
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform