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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top