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
Missing Profiles after rebooting
Pushing down local group policy changes with scripts
All Options tabs in Word 2002 are blank
Confused on formulas for KEI, KOI and KFI
How do i create a new GAL in MS exchange 2007??
Get the process id and exe filename and path of an active window in XP
iSeries Access for Windows won't restart after closing it unless I manually kill its processes
printing issue
Fields update failed Error with Email using the CDOSYS component
Windows Branding