Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return some values from a form
Message
From
23/06/1997 14:45:51
 
 
To
23/06/1997 13:48:01
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00037461
Message ID:
00037477
Views:
29
> I have one form for data entry "Data Entry Form" and another form for > select a record from a table "Select Form". After I select a record on > "Select Form" I need return some information from the record to the "Data > Entry Form". When I referenced with FormSetName.FormName.TxtName.Value = > ThisTable.FieldName. I got an error message saying that "FormSetName is > not an object". Did I miss anything and how should I get around with > this? Use the NAME clause when calling the forms. This will create a memvar of that name when the form is invoked, and the form will be bound to that memvar. You will then be able to say: m.FormName.TxtName.Value = ThisTable.FieldName or: release m.FormName ... to make the form go away. If you take this to the next step, you can have an array of the forms, and initialize each form to the next element in the array. But I'll leave the rest of that to you. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Reply
Map
View

Click here to load this message in the networking platform