Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to reference a form field
Message
De
02/10/2000 10:56:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to reference a form field
Divers
Thread ID:
00423430
Message ID:
00423430
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform