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
How do I match pixel size to physical size for printing?
SQL View to show the data using PIVOT
Excel / VBA: Code must check if there is any Cell in some filtered rows highligthed in RED...If so code must not run.
Windows Update fails code 80070490
Videos do not show
HtmlTextWriter
Multiple conditions in IIF and dealing with 0 or NULL
Cant find a driver for old wireless card
Moving Registry Entries Out of "VB and VBA Program Settings"
Error message: Entering break mode failed, Source file does not belong to the project being debuugged.