Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
A REPORT with Unknown members error
Please, can you explain why if I run a report on the valid(or click) event of a command button of a form, the report display unknown member for the values of diferent object of the form?
The command button doesn't have the TerminateRead .t.
The WindowType is 1
In the report's field, I typed MyForm.myVar.value
If I say "MODI REPO REPNAME" I can view my values .
I declared PUBLIC MYFORM in the program from where the form is called.
I tried the command ---DO FORM "MYFORM.SCX" NAME MyForm LINKED--- and also without LINKED.
If I use LINKED and the command REPORT FORM MyReport, after the error "unknown member" in the report, the form is released.But, when I say "MODI REPO REPNAME", it turns back to the form.
I even tried to declare a private variabile
PRIVATE cmyVar
cmyVar=MyForm.myVar.value
and then I've put it on the report, but the report didn't recognised it.
-> "variable cmyVar not found"
I placed in the buttons method that I use Public decalaration of myform and a myform = thisform , but still nothing.
Can anybody help me?
Thank you.
Suivant
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