Is there a way to use a drop-down menu and depending on the selection use that to check additional boxes in another area of the form like the header area? Example:
From the drop-down menu select Sega and a checkbox named Cartridge is checked.
Is there a way to use a drop-down menu and depending on the selection use that to check additional boxes in another area of the form like the header area? Example:
From the drop-down menu select Sega and a checkbox named Cartridge is checked.
Absolutely, use the AfterUpdate event of the combobox. There are number of different ways to do the code but here is one.
If me.combobox = "Sega Then
me.Cartridge = TrueElse
If me.Combobox = "Wii" Thenme.Wii = TrueEnd IfEnd If
Could also use a Case Statement. Also if you want to blank out any previous checkboxes you can set them all to False to start with, then do the code above.
Code that does not use If Then:
Me.Cartridge = Me.Combobox = "Sega"
Me.Wii = Me.Combobox = "Wii"
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Thanks, that worked.Absolutely, use the AfterUpdate event of the combobox. There are number of different ways to do the code but here is one.
If me.combobox = "Sega Thenme.Cartridge = TrueElseIf me.Combobox = "Wii" Thenme.Wii = TrueEnd IfEnd If
Could also use a Case Statement. Also if you want to blank out any previous checkboxes you can set them all to False to start with, then do the code above.