B
bob norris
I have a form that contains record data, navigation buttons and a subform.
For data entry purposes, I would like btnNext to advance to the next record
(which it does) and set focus to a text box on the subform. I have added the
following code to the On Click event of btnNext,
Forms!frmRatioAppraisal.LandUseCode.SetFocus
but when I run the form and click btnNext, I get an error message,
Microsoft Access can't find the form "frmRatioAppraisal" referred to in a
macro expression or Visual Basic Code
can anyone help?
thanks!
For data entry purposes, I would like btnNext to advance to the next record
(which it does) and set focus to a text box on the subform. I have added the
following code to the On Click event of btnNext,
Forms!frmRatioAppraisal.LandUseCode.SetFocus
but when I run the form and click btnNext, I get an error message,
Microsoft Access can't find the form "frmRatioAppraisal" referred to in a
macro expression or Visual Basic Code
can anyone help?
thanks!