From another forms code "SearchForm" I set the
.RecordSource for MainForm
Okay, Now I want to GoToControl [FirstControl] on the SubForm on PageTwo
I have tried all things in the known universe to get to a control on this
page two sub form. I can easily GoToControl [anyone] on the MainForm ..
But, when I try to get to a control on the SubForm ..
Message "doesn't exist"
I know how to reference controls on sub forms.
Forms![MainForm]!SubForm.Form!FirstControl
Even thinking that GoToControl only works with "active" form.
So ... I've even tried to
.SetFocus or even
DoCmd.SelectObject
But No Go ..
Can't even seem to make the SubForm Active.
Assistance MUCHO appreciated.
Tip: Walk away and come back.
Forms![MainForm]!SubForm.SetFocus
DoCmd.GoToRecord , , acNewRec
DoCmd.GoToControl "FirstControl"
Just using up a little USENET space to think ..
RgA wrote in message <#KjoDTeh#GA....@cppssbbsa02.microsoft.com>...
>
Forms![MainForm]!SubForm!FirstControl.SetFocus
--
+++++++++++++++++++++++++++++++++++++++
+++ gHaD (Aaron Robinson) +++
++ MJM-PC Solutions, Inc. ++
++ Chicago, IL ++
++ ++
++ -> ICQ# 5686832 <- ++
++ Before they invented drawing ++
++ boards, what did they go back to? ++
+++++++++++++++++++++++++++++++++++++++
Hope this helps
Mike Reck
Ameritech Data Networking Solutions
Trey Williams wrote in message <371F299F...@jhmi.edu>...