Microsoft
Software
Hardware
Network
Question : MS Access set combo box values dynamically at runtime
I'm looking to set up a combo box that will have a dynamic list of values based on whether certain items are assigned or active. I want the combo box to only include values from the table if from the table if its status is active. I envision the combo box values being filled either on form load or when clicking the combo box. Any help would be greatly appreciated.
Form name = frmEmployees
Combo box = cmbTempCardNo
Table w/ values = tblTemporaryCards
Thanks, Gary
Answer : MS Access set combo box values dynamically at runtime
private sub form_load()
me.cmbTempCardNo.rowsource
type="tabl
e/query"
me.cmbTempCardNo.rowsource
="select fld1,fld2 from tblTemporaryCards where [status]='Active'"
end sub
Random Solutions
Help creating a Norton Ghost 8 bootable dvd with the image files
Exchange 2007 CAS HUB Question ?
event listener for error with loader?
Windows Update won't work after upgrade from XP Home to XP Professional
SQL query or stored procedure to denormalize and export data
Windows Backup: Error code 2155348010 on Windows Server 2008 with Exchange Server 2007 SP1
Project Server 2007 install asp.net error
""PXE-E61: Media test failure, check cable" Built 2003 Server as DC w/Active Dir. Worked well 3 days, now this... Help
How to resolve the error "The Microsoft Jet Database Engine cannot find the input table or query" ?
Exchange 2007 Migration and OAB sync with OL 2K3