Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference a form field
Message
From
02/10/2000 10:56:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to reference a form field
Miscellaneous
Thread ID:
00423430
Message ID:
00423430
Views:
54
I have a form that has a button which when pressed instanciates another form ( a report generator). Under the Double Click method it:
lodialog=CreateObject("myclass",etc.). Within the myclass object, I dynamically create fields based on a table (to act as selection criteria). On this myclass form I have a button for report Preview and a method onprintreport. The onprintreport method does an SQL to create a cursor that the report is based on. I need the report to receive the contents of the dynamic field in order to print:
Selection Criteria: . How do I refer to the field within the report? I tried loDialog.CPageFrame1.cboField.Value and this works within the lodialog screen during the SQL but not when the report itself comes up.
Any ideas?

Thanks in Advance

Sandi Cassidy
Next
Reply
Map
View

Click here to load this message in the networking platform