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
Dateformat in SQL SERVER 2005
IBM X Series 225 - Cannot get see the hard Drive
HOWTO: Programatically Configure Error Pages Features Settings in IIS 7.0
boost shared_ptr
Joining a remote Windows 7 client to an SBS 2008 domain
wpf validation xaml textbox
HTTP 404 Not Found when submitting a Post in a Blog site.
Synchronizing three (3) combo boxes in a form.
Query to match client with worker and goals
Disable WSUS Client Update Over 3G and VPN