VB code to Requery

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
 
W

Wayne-I-M

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

Similar Threads

enter key and it requerys 1
Requery subform 2
on PRess of Enter Re query 1
Subform Requery Criteria 1
Requery Form 1
Load query with outdata until search 1
How to requery from a form 2
Requery unbound textbox 1

Top