473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Combobox showing Staff with relevant qualifications

Hi

I am having some trouble coming up with a solution so that a combobox only lists staff members at a particularly who have the relevant qualifications associated with a service.

Perhaps I have the table design wrong (please see the link at the bottom of my question for the relationship image) to do this kind of thing:

Here's what I am looking to achieve:

A pharmacy provides a service which may have associated qualification(s)/accreditation associated with that service. In order for the pharmacy to provide that service they need to notify which members of staff are going to provide the service which have these qualifications/accreditation, this could be more than 1 person.

The database stores details of staff members along with there qualifications.

I have a continuous form when the user can input/edit the services provided by a pharmacy. I would also like to select the members of staff in the pharmacy who are responsible for delivering to the service. This would either by via a sub form or a pop-up form where the user can select the members of staff associated with that pharmacy, but only those members of staff that meet the qualification(s)/accreditation criteria.

I've tried using the fConcatChild function found here: http://www.mvps.org/access/modules/mdl0004.htm

Though when I use this with StaffQualification the qualifications are not in order so I could not use the concatenated value from the QualificationService as criteria in the query.

I can look to provide an example database if this will help out.
Any help is greatly appreciated.


N.B. Please ignore the relationships not showing in the image, these are the original tables in the system which I am replacing.

http://i54.tinypic.com/7099wy.jpg
Apr 4 '11 #1
2 2085
ADezii
8,834 Expert 8TB
Just subscribing for now, will have a closer look at this scenario, and will return later.
Apr 4 '11 #2
Hi there, thanks.

I've actually managed to come up with a solution using VBA, which when a pop-up form loads it creates an SQL string based on values it pulls from the currently open form.

The key bit I was missing was the "In (x,y,z)" to use the query criteria as i'd never used this before.
Apr 4 '11 #3

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

Similar topics

1
by: Printronix | last post by:
Printronix, Inc - Irvine C Full Time position. We are looking for local candidates only at this time. No third party agencies or recruiters please. Thank You Salary: Up to $90K DO STAFF WEB...
1
by: Damien Ramsey | last post by:
hello there Info: I have a form on which is displayed information, customer code, address and balance etc.. on that form i also have start of the current week, which is displaying 29th march...
2
by: Anand | last post by:
Hi All, I have a combobox with style as DropDown List. When I set the combobox.selectedIndex = 0, the first value is not showing up in the combobox and it is simply blank. Only if I...
2
by: ORC | last post by:
I have a combobox with an unknown list of items except of one item which I want to be selected at startup. I know that I can select an index like this: comboBox1.SelectedIndex = 1; but I don't...
0
by: Hyper X | last post by:
Hey guys, I have about 150 forms using the ComboBoxes. There is at least one combobox in every form. I am filling the comboboxes on FormLoad of every form. Eg., Fill Staff table on form...
3
by: Brian Henry | last post by:
Is there anyway to prevent the white box that drops down when you do a combobox dropdown from showing? I am trying to make a custom combobox which requires showing a custom form in its place, but...
1
by: Gary Paris | last post by:
I have a combobox on my windows form. It is populated from the "staff" table which has a StaffID and StaffName. The code is: cmbStaff.DataSource = objDataset.Tables("Staff")...
3
by: Gary Paris | last post by:
I have a question regarding the combobox. I populated a Combobox on my Windows form by databinding. In table I am binding contains a StaffID field and a StaffName field. When I ran a query to...
2
by: Nate | last post by:
I have used the feedback on this issue to remedy my comboboxes showing the first item on the list when a new record is added to the binding context --- Me.BindingContext(dsOrders,...
6
Alireza355
by: Alireza355 | last post by:
Dear all, I would like to know if there is a way to have a combobox in an unbound form to show only the names of tables starting with numbers. eg. 88 , 89, 90, etc. Best Regards, Alireza355
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.