| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Update / Refresh a Form Upon Entering Data in a Popup Box / Form
I apologize if this has probably been asked countless times; however, in my search of this forum I could not find something that seemed to work for something so simple.
************************************************** Scenerio: I have 2 forms. The first form is my main form and the second form is my "popup" form. Both of these forms access the same table. In my main form I have it so people can not enter in a ID so it reduces accidental data entry. Therefore, I created a "popup" box that allows ID entry. Everything works great except when I close out of the popup form, the newly entered data is not available unless I close the main form and reopen. Million Dollar Question: How do I refresh or requery (dunno the correct term usage here) the main form to reflect the addition I made in my popup form. I would like the refresh event to happen when I click the close button on my popup form. ************************************************** Again, I know this is probably simple, but I cannot find it anywhere or most likely I am blind Thank You |
| Sponsored Links |
|
#2
|
||||
|
||||
|
In the Close event of the popup form, put in
Code:
Forms!YourFormNameHere.Requery
__________________
Bob Larson Free Access Tutorials and Samples: http://www.btabdevelopment.com (and FREE frontend auto update enabling tool) |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I issue items from a multi-level inventory? | ltl | Forms | 5 | 01-27-2004 12:32 PM |
| Update form based on combo box entry | blakekj | Forms | 2 | 07-01-2003 03:20 AM |
| Data from Table to Text Box in Form Linkning?! | 2000TransAm | Forms | 1 | 06-24-2002 02:46 PM |
| Problem closing a form with a combo box linked to a list box. | Essendon | Forms | 1 | 04-10-2002 03:37 AM |
| HOW TO REFRESH THE FORM WITHOUT EXITING THE FORM | rajput | Forms | 1 | 02-09-2001 01:00 PM |