SubForm Reference

  • Thread starter Thread starter Shell
  • Start date Start date
S

Shell

In Access 2000

I have a form named frm_Dashboard
I have a sub form named sfrmDashboard_RL360

On this subform I have a field named txtPctRecHardReturn

How do I reference the the contents of this field in code. The code is in
the form.

Thanks
 
Provided that sfmDashboard_RL360 is the name of the subform control (not
merely of the form you load into that control), it would be:
Forms!frm_Dashboard!sfmDashboard_RL360.Form!txtPctRecHardReturn

Explanation:
Referring to Controls on a Subform
at:
http://allenbrowne.com/casu-04.html
 
Back
Top