Form refresh

  • Thread starter Thread starter JP Martinez
  • Start date Start date
Hi, Pierre.
How do you code a form refresh in Access.

This depends upon whether you want to refresh the same Recordset that was
retrieved when the form was opened (or last requeried) or whether you want
the freshest data stored in the database. Use the Requery method instead of
the Refresh method if you want the latest changes from _all_ users. So, the
code would be:

Me.Refresh

- or -

Me.Requery

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
 
thanks a lot -that worked

'69 Camaro said:
Hi, Pierre.


This depends upon whether you want to refresh the same Recordset that was
retrieved when the form was opened (or last requeried) or whether you want
the freshest data stored in the database. Use the Requery method instead of
the Refresh method if you want the latest changes from _all_ users. So, the
code would be:

Me.Refresh

- or -

Me.Requery

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)
 

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

Similar Threads

Access Form Refresh 1
Refreshing Data Form in a Tab 1
subform-on Main form not refreshing queried job list 2
subform will not refresh 6
Refresh/OnCurrent Questions 3
Refreshing a query 1
form still on task bar 1
Refresh Table 3

Back
Top