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
 
Top