ComboBox without duplicates (1 Viewer)

Blancorn

Registered User.
Local time
Today, 00:42
Joined
Feb 27, 2016
Messages
30
Hello everyone,

I would like to ask your for a hint regarding my form.

I have a form with two fields only (task, employee). In this form I can assign an employee to the task.
With few rows it is not difficult, but when we have more employees it is not so easy.

Is it possible to set ComboBox in the way that:
as soon as an employee is assigned to another task (is selected in one row), it is not shown on the drop down list for another function (another row)?
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 03:42
Joined
May 21, 2018
Messages
8,554
I demo this in the above thread. Limiting the list to unselected items is easy. You use as NOT IN subquery. The hard part is making this work in a continuous form. See discussion
 
Last edited:

Blancorn

Registered User.
Local time
Today, 00:42
Joined
Feb 27, 2016
Messages
30
unfortunatelly I need to do it in continuous form... can you please write here a link to the discussion you mentioned?
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 03:42
Joined
May 21, 2018
Messages
8,554
Sorry, that was a bad link. The example is continuous and there are several possible ways to handle it.
 

Users who are viewing this thread

Top Bottom