D
Doug Glancy
I have a form, frmMain that lists staff names in a combobox from a query
into a lookup table. The table, lkpStaff has 3 fields, StaffID, Staff and
ShowInViews. The RowSource Query for the combobox is:
SELECT lkpStaff.ThingID, lkpStaff.Thing FROM lkpStaff WHERE
(((lkpStaff.ShowInViews)=True));
The combobox ControlSource is the field Staff in tblMain which is populated
from frmMain.
By unchecking ShowInViews for staff that are no longer employed I can remove
them from the combo's dropdown. However, of course, it also removes those
staff names from older entries. I want to have my cake and eat it too,
i.e., to remove the staff person as a choice going forward, while still
retaining them in older records.
I hope that makes sense and thanks in advance.
Doug
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4852 (20100209) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
into a lookup table. The table, lkpStaff has 3 fields, StaffID, Staff and
ShowInViews. The RowSource Query for the combobox is:
SELECT lkpStaff.ThingID, lkpStaff.Thing FROM lkpStaff WHERE
(((lkpStaff.ShowInViews)=True));
The combobox ControlSource is the field Staff in tblMain which is populated
from frmMain.
By unchecking ShowInViews for staff that are no longer employed I can remove
them from the combo's dropdown. However, of course, it also removes those
staff names from older entries. I want to have my cake and eat it too,
i.e., to remove the staff person as a choice going forward, while still
retaining them in older records.
I hope that makes sense and thanks in advance.
Doug
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4852 (20100209) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com