Reference text control on tab contol page

T

Tom

Going round in a circle on this one so any advice/suggestions would be
appreciated.

Am using Access 2003. I have a form - frmBooks - on which there is a Tab
control. On one of pages of that Tab Control I have an embedded subform and
a text box.

From that subform I have a cmdButton which on click I want to pass the value
from a text box on that subform to a text box on the same page of the Tab
Control.

I thought that: Forms!frmBooks![TabCtl1].Pages![Topic]![Category] =
Me![Category] would do that but I am geting an error msg this method is not
supported.

What referencing should I be using?

TIA

Tom
 
A

Allen Browne

Omit the tab control and page name, so just:
Forms!frmBooks![Category] = ...

Or even:
Me.Parent!Category = ...
 

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

Top