How to refresh a subform

  • Thread starter Thread starter Alain
  • Start date Start date
A

Alain

Hi to all

I need to have a calc field being refreshed on my subform everytime a text
box (only one box) value change on my main form
I am using the following code but it give me the error 2465
application-define or object-define error which I do not quite understand

Forms!MainForm.Subform.Refresh

I also tried the following

Forms!MainForm.Subform!Mycontrol.Refresh or
Forms!MainForm.Subform!Mycontrol.Recalc

Still the same error

Can anybody explain to me this error so I can correct it

Thanks

Alain
 
For Subform, are you using the name of the subform control (the main form's
control that actually holds the subform object)?
 
Back
Top