G
Guest
hi,
I have a table ( called handover- takeover table) which among other fields
has fields employee ID (which is also a primary key) and employee name
field.
I was trying to make a form where I can enter handover of documents from one
employe to the other employe . For this I created a data entry form with
combo box "Handover from" this combo box selects the employee names from
above mentioned table. next combo box is "employee ID" which automatically
selects the corresponding employee ID once I selects the name.
The I have another column called "Handover to" which also selects the name
from the same table. then next combo box is employee ID, which is
automatically selected once I select the name in "Handover to" box.
Now my problem is, once I select the name in "Handover from" the employee
Id is automatically selected (thats fine) BUT then "Handover to" and
corresponding employee ID is automatically set same as that of "Handover
from" and its corresponding employee ID. If I change the name in ""Handover
to" combo the "handover from" is also chanegd and identical to " handover
to". This is bothering me.
I do not want "Handover from" and "handover to" is linked. they must be
linked only to their corresponding employee ID. I would like to select names
in either of combo box independent of each otheralthough they have the same
source. How to do this.? Please help
I have a table ( called handover- takeover table) which among other fields
has fields employee ID (which is also a primary key) and employee name
field.
I was trying to make a form where I can enter handover of documents from one
employe to the other employe . For this I created a data entry form with
combo box "Handover from" this combo box selects the employee names from
above mentioned table. next combo box is "employee ID" which automatically
selects the corresponding employee ID once I selects the name.
The I have another column called "Handover to" which also selects the name
from the same table. then next combo box is employee ID, which is
automatically selected once I select the name in "Handover to" box.
Now my problem is, once I select the name in "Handover from" the employee
Id is automatically selected (thats fine) BUT then "Handover to" and
corresponding employee ID is automatically set same as that of "Handover
from" and its corresponding employee ID. If I change the name in ""Handover
to" combo the "handover from" is also chanegd and identical to " handover
to". This is bothering me.
I do not want "Handover from" and "handover to" is linked. they must be
linked only to their corresponding employee ID. I would like to select names
in either of combo box independent of each otheralthough they have the same
source. How to do this.? Please help