Refresh subform

R

Raj

I have a button that will Requery my main form but I can
not figures out how to have it do the subform. Any
suggestions?
Thank you..
 
K

Ken Snell [MVP]

You want to requery the subform? Add this line of code:

Me.SubformName.Requery

where SubformName is the name of main form's subform control (the control
that holds the subform).
 
R

Raj

Thanks Ken.
-----Original Message-----
You want to requery the subform? Add this line of code:

Me.SubformName.Requery

where SubformName is the name of main form's subform control (the control
that holds the subform).

--

Ken Snell
<MS ACCESS MVP>




.
 
Top