refer to control and Pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello again all,
I have reviewed this link, but still unable to figure out the syntax.

http://www.mvps.org/access/forms/frm0031.htm

I have a main form titled [frm Donors], with numerous pages (tabs)
i have what appears to be a control that stores the tabs - TabCtl200
I have a page titled - [Donor Info] (in the properties is says Page: Donor
Info)
I have a field on the [Donor Info] page titled Directions

I am trying to obtain the value of the Directions field.

here are a few of my failed attempts
MsgBox Forms![frm Donors]![Donor Info].Form!Directions
MsgBox Forms![frm Donors]!TabCtl200.Form![Donor Info].Form!Directions


Any help you can give me is appreciated.
 
Hi -

Do the tabs on your form contain sub-forms? If not, then that's part of
your problem - the syntax you are using is for sub-forms.

The pages on a tag control are not sub-forms. If you are not using
sub-forms, and from your description, you aren't - have you tried

msgbox me![directions] ?

John
 
Back
Top