VB code to Requery

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

How do i get my form to requery after i type text in a text box and
then press Enter

So i need the code for when i press Enter key it requerys


Thanks
 
Hi Simon

It depends on what you want to do

Use .Requery to requery the underlaying data - like a query

Or just
me.SomeControl.Requery
Or
Forms!FormName.ControlName.Requery

or (to refresh all controls) you can use
Forms!FormName.Requery
 

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