Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Nadya/Chris
This months Foxpro Advisor mentions this same thing in the tips column...it has
** -- in the form.activate()
public goCurrForm
goCurrForm = THIS
It says then the REPORT can then reference any property or control on the form for example
goCurrForm.edtBox.Value
goCurrForm.Caption
goCurrForm.Getsomeformproperty()
If you put this in your base class then you could reference any control or property in any Report.
Cecil....
>>Can you use object references in report fields?
>>
>>I have a form with edit box: edtComments
>>
>>Can I have a report that has a field with the same value as edtComments?
>>
>>Thanks,
>>Chris
>
>As far as I know, yes, you can, but I would create local variables in the calling button instead and access them.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement