Help with Passing data back from popup to form

G

Guest

Hi,
On my form, when the user hit submit it validates the zip code and if more
than one city is returned it pops up a form with the list of cities in a list
box. The user then have to select one of the cities and click 'OK'. How do I
then update the underlying form (txtCity) with the correct city that was
selected in the popup?

Thanks
 
G

Guest

Excellent! I have one issue with it though, after it passes the value to the
main form ir also opens up another copy of the main form. Why is that?
 
G

Guest

Hi,
Mistake... It opens up another instance of the child form when you click
both the 'OK' and 'CLOSE' button
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top