If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
changing focus ( in code ) from one form to another
How do I change focus from one form to another form
This information would be extremly valuable. Thanks |
#2
|
|||
|
|||
changing focus ( in code ) from one form to another
Forms!NameOfForm.SetFocus
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Swordsman" wrote in message ... How do I change focus from one form to another form This information would be extremly valuable. Thanks |
#3
|
|||
|
|||
changing focus ( in code ) from one form to another
Use the Openform Method:
Docmd.OpenForm "Formname" If the form is open, it will give it the focus. God Bless, Mark A. Sam "Swordsman" wrote in message ... How do I change focus from one form to another form This information would be extremly valuable. Thanks |
#4
|
|||
|
|||
changing focus ( in code ) from one form to another
Douglas,
the method you'v described was what the doctor ordered much obliged "Douglas J. Steele" wrote in message ... Forms!NameOfForm.SetFocus -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Swordsman" wrote in message ... How do I change focus from one form to another form This information would be extremly valuable. Thanks |
#5
|
|||
|
|||
changing focus ( in code ) from one form to another
I do not know what are you trying to achieve, but if you want to change focus
to a control in subform you can do with this code. Me.subformname.SetFocus Me.subformname.Form.controlname.SetFocus Regards, Chris L "Swordsman" wrote: Douglas, the method you'v described was what the doctor ordered much obliged "Douglas J. Steele" wrote in message ... Forms!NameOfForm.SetFocus -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Swordsman" wrote in message ... How do I change focus from one form to another form This information would be extremly valuable. Thanks |
Thread Tools | |
Display Modes | |
|
|