473,544 Members | 2,299 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Filter ComboBox Based Upon Check Box

1 New Member
Using Access 2010:
Setup: I have a single table, single form with a combobox that I populate from a single column named "Device Name" in the table. When a user selects a device from the combobox it populates the remainder of the form fields associated with that device. No problem.

What I would like to do is have checkboxes (e.g. Production, Development, etc.) that when checked will filter on a column named "Status" to find records with values named "Production ", "Developmen t", etc. and show only the Device Names for those found records in the combobox.

I am doing this using VBA code.

Hopefully, that makes sense.
Feb 3 '15 #1
1 1285
twinnyfo
3,653 Recognized Expert Moderator Specialist
drussell10,

Welcome to Bytes!

I might be a bit confused on how your table is set up. Are the "Devices" unique in the table or can the same device be listed more than once?

Where are the values "Production " and "Developmen t" found in the table? Are these separate fields in your table or are they different values of one field?

If you could also list the fields for your table, that would be helpful. Initially, it sounds like you may need to restructure your DB Table(s) (Please see this link on DB Normalization).

But, listing your fields will give us a better idea of how to approach your problem.
Feb 4 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2162
by: Micromanaged | last post by:
Is it possible (and if so, how?) to have an asp form page that based upon a user's selection on a field, would generate a input field b that the user selects? For example: User selects "name" in a select statement which would list the possible names to select from or if the user selects "telephone" in the same select statement then it...
11
11971
by: Matt | last post by:
Hi everyone, still pretty new to MySQL. I was wondering if there is a way to automatically filter records based on a mysql userlogin name?? I have serveral databases that I want to combine in order to manage the databases more efficiently. - I'm currently using MySQL 4.1.12 and I'm currently testing 5.0.14 - I have a databases for each...
2
1045
by: e2biz | last post by:
I want to change the style of a data presented based upon the value of the data. For example, I if the value is positive I want it to appear black but if it is negative I want it to be red. Any suggestions would be helpful! -- Rob
1
2113
by: Mike P | last post by:
Is it possible when populating a datagrid to populate a dropdownlist column based upon the value populated to another row in the datagrid? (i.e. I have a drop down which I want to populate differently for each row with user names based upon a UserRegionID which is also a column in the row). Since you don't actually know the value of the...
7
1349
by: mike.a.rea | last post by:
Say that I have a form with a drop down list box. This list will set a value for a data field (for lack of a better word) say this is called test1. This is what I have for my basic form. form name="form1" method="post" action=""> <select name="test1" id="test1"> <option value="1">1</option> <option value="2">2</option> </select>
3
7860
by: joseph.mccastlain | last post by:
Hello All, I am a new user to Access. I am currently designing a database consisting of four tables for multiple users. Rather than bore you with the goals and such, here is what I am attempting to do: I have two combo boxes, the first of which contains three text values (Org 1, Org 2, Org 3) and the second combo box contains a listing of...
0
1270
by: spowel4 | last post by:
VB 2005: Using an xml file as the data source, I need to fill a listbox with data based upon what was selected in a combobox. In other words, my data consists of a list of customers in a combobox; once a particular customer is selected I need to populate a listbox with data specific to the selected customer. A sample layout of the xml...
94
6828
by: mlcampeau | last post by:
I have a report (JobVacanciesOnly) that has a subreport (JobVacanciesOnlySR) that are based on two separate queries. MY - JobVacancyJobs SELECT Job.Code, Job.Title, Job.Grade, Grade.Minimum, Grade.Midpoint, Grade.Maximum, Job.EEOCategoryCode, EEOCategory.Desc, Job.EEOSubCategoryCode, EEOSubCategory.Desc FROM Grade RIGHT JOIN (EEOSubCategory...
2
9033
by: eihabisaac | last post by:
Hi everyone I'm using VS2005 C# with MySQL to do a windows application i'm also using Devart for MySQL i was able to populate a combobox from the database but i really want to populate the other combobox based on the first combo value
7
9753
by: sheela gupta | last post by:
I want to populate the combobox based on the selected item in the first combobox The following code is written in vb.net 2008 Public Class Form1 Sub fillcombo() strsql = "select * from device" Dim cmd As New OleDb.OleDbCommand cmd.CommandText = strsql cmd.Connection = con dr = cmd.ExecuteReader
0
7437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7625
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7717
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5306
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4930
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1848
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.