Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms > How to set Subf...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 44639 of 46472
Post > Topic >>

How to set Subform Default Focus

by =?Utf-8?B?Um9zZW1hcnk=?= <Rosemary@[EMAIL PROTECTED] > Aug 6, 2008 at 02:55 PM

I have a main form with a subform. The main form contains only displayed 
data; i.e., no control gets the focus. What I want to do is to set the
focus 
on the subform to the "new" record. I have tried setting the Current event
on 
the subform (macro: GOTORECORD,,NEW) and it doesn't work correctly. It
does 
set the focus correctly when the subform is initially displayed. However, 
when I try to change the focus to a previous record, the focus
automatically 
is reset to the "new" record. I have tried other events but none of them
seem 
to work. I even tried setting an event in the Main form, but I get an
error 
message stating that the subform isn't opened(?). I also want this to work

whenever I access the next "main form" record.

Your help is greatly appreciated. Thanks in advance.
 




 2 Posts in Topic:
How to set Subform Default Focus
=?Utf-8?B?Um9zZW1hcnk=?=   2008-08-06 14:55:02 
Re: How to set Subform Default Focus
"Mark A. Sam" &  2008-08-13 07:41:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 13:15:50 CST 2008.