refreshing the query results on a page

jlabre01

Registered User.
Local time
Today, 02:37
Joined
May 26, 2008
Messages
62
Hi,

I'm trying to make a query based form, so i start at one form that just has a combo box with all the company names, then i push a command button to open the next form, which contains the results of the query. at the bottom of the page i put a button to go back to the previous page in order to do a new search. but when i select a new company name and press the command button again the results from the previous search are displayed. so the question is, what do i have to do in the event in order to get the proper search results each time?

thanks in advance,

jlabre01
 
Try to add a code to after update event

Me.Requery
 
Or at the end of the OnClick event
 

Users who are viewing this thread

Back
Top Bottom