![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Does anyone know how to make Me.OpenArgs.SetFocus work? I'm trying to use it to set the focus to a command button on a menu. Thanks, Mike |
#3
| |||
| |||
|
|
Mike, I assume you want the focus to vary depending on the OpenArgs. Typically you would put your code in the Form Open Event, e.g if OpenArgs = "Product" then cmdProduct.SetFocus else cmdRegion.SetFocus endif If this doesn't answer your question, please indicate what you are trying to accomplish. -- Allan Thompson APT Associates/ FieldScope LLC MS Office Automation / Measurement and Reporting Systems www.fieldscope.com 860.242.4184 "mharness" <mike_harness (AT) hotmail (DOT) com> wrote in message news:yIadnR9OcdRlSPyiU-KYvw (AT) comcast (DOT) com... Hello, Does anyone know how to make Me.OpenArgs.SetFocus work? I'm trying to use it to set the focus to a command button on a menu. Thanks, Mike |
![]() |
| Thread Tools | |
| Display Modes | |
| |