Hi Doc,
What i am trying to do is allow an update of selected records chosen by the user. The scenario is a line manager leaves the department and the staff need to be reassigned to a new manager or indeed manager
s. I have a popup continuous form that displays all the member of staff under the line manager. I then want to allow the user to select a new line manager from a drop down list and then select the staff to update by selecting a check box next to their record. This way i can reassign large numbers of staff quickly.
In order to do this i have created a make table query with the staffID field and a variable- a field in a query that does not belong to an exisiting table in this case -
I have then linked this in a new query to the staff details table using the staffID fields. This has given me a query that has a field that i can then bind my check box to.
When the user clicks the update button i am able to clone the recordset and update the linemanager field for those records that have a check against them.
Basicially i was wondering if i could avoid the make table step. I seem unable to create an extra field in the query that i can then bind the check box to
and change the value of with the control unless it exists in a table first.
I've posted the popup form and the two queries just to give you some idea of what i am doing.
The person in the combobox is the new line manager i have selected for these staff members. The check box to the right of replace allows the user to select or deselect all of the staff members. When the cmdbutton is clicked any staff members who have not be reassigned will remain visible the others will be cleared from the form.
If it can't be done then fair enough, i just don't like creating ghost tables.
Thanks for any suggestions.
TS
