![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 |
#3
| |||
| |||
|
|
I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 |
#4
| |||
| |||
|
|
I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 |
#5
| |||
| |||
|
|
I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 |
#6
| |||
| |||
|
|
On Sat, 25 Oct 2008 00:28:33 -0400, Orv wrote: I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 Code the Combo Box's AfterUpdate event: If Me![ComboName] = "Yes" Then Me![ControlA].SetFocus Else Me![ControlB].SetFocus End If -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
#7
| |||
| |||
|
|
On Sat, 25 Oct 2008 00:28:33 -0400, Orv wrote: I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 Code the Combo Box's AfterUpdate event: If Me![ComboName] = "Yes" Then Me![ControlA].SetFocus Else Me![ControlB].SetFocus End If -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
#8
| |||
| |||
|
|
On Sat, 25 Oct 2008 00:28:33 -0400, Orv wrote: I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 Code the Combo Box's AfterUpdate event: If Me![ComboName] = "Yes" Then Me![ControlA].SetFocus Else Me![ControlB].SetFocus End If -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
#9
| |||
| |||
|
|
On Sat, 25 Oct 2008 00:28:33 -0400, Orv wrote: I have a "Yes/No" combo box (set to required) and I want the focus to shift to differnet controls (on the same form) based on the selection of "Yes" or "No". Would this have to be placed on the "Exit" event? I tried Google...and no luck. I'm sure there's gonna be an "If" statement involved. TIA, -Orv Access2003 Code the Combo Box's AfterUpdate event: If Me![ComboName] = "Yes" Then Me![ControlA].SetFocus Else Me![ControlB].SetFocus End If -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
![]() |
| Thread Tools | |
| Display Modes | |
| |