Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report question
Message
De
02/10/1998 09:06:57
 
 
À
02/10/1998 03:26:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00143084
Message ID:
00143192
Vues:
19
>Yes, that will surely work, but I think Puri will also benefit from mentioning the possibility of stating
_Screen.ActiveForm.property
in the report field, or any other UDF outside the active form for that matter
>
>Best

Are you guys doing this? I know you can't use thisform. in the report, since the report is not contained in a form.

Using _screen.activeform.property may work, but what happens when the print screen gets focus?

How about declaring a private variable with a reference to the form?

private opCallingForm
opCallingForm = this

This in the report you would access...

opCallinForm.property

Of course, then the report would need to be hard coded to always use opCallingForm...

Perhaps you can also create privates of the form properties...

private var1,var2,var3,var4

var1 = thisform.var1
var2 = thisform.var2
var3 = thisform.var3
var4 = thisform.var4

report form ...

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform