Send data from pop-up form to main form (sub-sub form)

audrey

Registered User.
Local time
Today, 03:27
Joined
Sep 9, 2008
Messages
15
Ok, essentially what I would like to happen here is the following:

On the form: User enters first name, then last name. Upon updating the last name field, I would like another form to pop-up and display all the people with that same first name and last name that the user just entered.

On the pop-up form: All of the matching first names/last names are listed with a button control beside each record that says 'Select'. The user clicks the select button beside the record he/she wants. This pop-up form closes and all of the data from this selected record is now showing on the original form.

So far, I have a query/form that pops up only showing the matching first/last names. I'm having a hard time getting my original form to auto-populate with that record that the user selects on the pop-up.

(Also my main form is actually a sub-sub form - so in my trials I could've been massacring my syntax trying to point to it.)

I'm sure a question like this has been answered somewhere but I guess I haven't been entering my search times right to find anything. This is my 2nd week of google/forum scavenge to figure this out.

Any help - or a point in the right direction is GREATLY appreciated!
 
Does the "original form" stay open throughout this process?
 
Yes. It stays open in the background.
 
Ok what you can use is the Filer and FilterOn properties of the form. Check those out.
 
While searching for Filter info I actually came across a VERY helpful post that ended up working perfectly. So for anyone else in the same boat, try the post here (wouldn't let me post the link since I don't have the posting numbers) Search this forum for :

"transferring data from one form to another" post by BennyLinton.

Thanks for your reply vbaInet!
 

Users who are viewing this thread

Back
Top Bottom