Microsoft
Software
Hardware
Network
Question : Populating Combo Values
How can I restrict the following combo values such that it only populates certain items but restrict others.
From example in frmPopup:
cboSType is bounded to tblSTYpe
cboSType:
Row Source: SELECT tblSType.STypeID, tblSType.SType FROM tblSType;
Column Bound = 2
Column Width = 0";2"
Column Count = 1
*********
Here is tblSType:
STypeID STYpe
CM OnCampus
SA OffCampus
ST Online
How can I restrict cboSType such that it only display "OnCampus" but restrict "OffCampus" and "Online" from showing on the combo.
Answer : Populating Combo Values
In design mode right click your combo box and select properties. Under the Data tab click the box on the far right of Row Source. In the query field STypeID, set the criteria to CM.
Flyster
Random Solutions
SQL Errors - Cannot execute as the database principal
VBA formatting errors!
How to change start menu user default folder list in Windows 7
How can I move a SQL express database from one computer to another?
Access VBA Expert needed - bookmarks amongst 2 recordsets, etc
hstbar.xla can not be found After Excel 2007 was installed
Create CSV file from SQL and hard coded data
Detect Open Form
LDB Viewer for MS 2007 databases
Free Proxy Servers or Services