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
SEO with dynamic database
How do I import into excel a word document, each line is one word from the document?
Help with MS Access SQL.... UNION syntax question
Different client results in different excution plan?
2005 Test Server Add new index timeout
SQL Reporting Services - Service Unavailable
From Dreamweaver to Outlook: HTML newsletters
CVS question - getting all changes of one user between two points in time
animated icons
Retrieve accidentally deleted file folder with data in safe mode in Win XP