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
Calendar control
Type DATE rejected in CREATE TABLE
Unable to find control
How to truncate (GridView)BoundFiled's string value using DataFormatString?
How do I import data from excel directly into a sharepoint calendar?
Spell Check Single Field
Console application for top 10 most frequently occuring words in a document
ASPNET/C# - Color question
Grow Vertical Lines in Access Report
How to find records between two dates ?