passing data between forms

fguihen

Junior Contributor
Joined
Nov 10, 2003
Messages
248
Location
Eire
i have a form with a text field on it. to populate that text field, i have a little button that brings up a search form to fnd the relivant data. i want to pass this data back to the first button when i click a button on the search form. this is proving supprisingly hard to do. can anyone offer me some help?
 
Add a public method (PopulateField etc.) to the first form that is passed the data as a parameter. Then this method can be called from the search field. Creating the second form as a Dialog with the first form as its parent may also help make this easier.
 
Back
Top