Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A REPORT with Unknown members error
Message
 
To
25/07/2002 11:31:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00682537
Message ID:
00682976
Views:
22
This may help:

1. As a rule, the form name /...NAME MyForm / should be the very same as in the Form caption
2. declare private cmyVar in the program and assign a value before calling the form or
declare a GLOBAL variabile instead of private
PUBLIC cmyVar

Best Wishes

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform