Refresh Query

  • Thread starter Thread starter Colin Hammond
  • Start date Start date
C

Colin Hammond

I have a list of boats and a list of moorings. I have a query that finds
vacant moorings and a combo box on my boat details form that displays this
list and allocates a boat to the mooring. My problem is that when I go to
another boat form the allocated mooring is shown as still vacant unless I
close and re-open the form.

Colin
 
whenever you go to a new boat (on the "on current" event) use the code

Me!ComboBoxName.Requery

that ought to do it. Although I would have generally expected this to happen
when you change the form record anyway....
--
 
You could use the F9-key on your keyboard to refresh one record.....
Shift+F9 will refresh the whole recordset.
 

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

Back
Top