Syntax (1 Viewer)

TPugh

New member
Local time
Today, 19:05
Joined
May 6, 2000
Messages
7
Hi
I am trying to write a macro that finds a text box on an imeded form that is on a tab page.

If it were a text box on an imbeded form I would use [Forms]![MainForm]![SubForm].[TextBox]

With this syntax I get an error that says this is not an OLE object.

What am I doing wrong

Tom
 

Robin

Registered User.
Local time
Today, 19:05
Joined
Sep 26, 2000
Messages
19
Hello,
instead of [Forms]![MainForm]![SubForm].[TextBox] try
[Forms]![MainForm]![SubForm].Form.[TextBox]
hope that helps
 

Users who are viewing this thread

Top Bottom