Here's my scenario:
I have a query that randomly selects a record from an Employee Table for a prize drawing. This query is the source for a report that prints out a pretty "your the winner"document. All of this is working well. However, what I'd like to do and can't figure out how is:
For the record in the Employee Table that was selected, not only do I want the report to report on the data, but I would like to update a field in the Employee Table to designate that this empolyee had been selected. Somehow I need the employee id number that was selected passed to an update query to update the "Selected" field.
Is this possible in Access? If so, please describe how it can be done.
Much thanks!!
Tom
I have a query that randomly selects a record from an Employee Table for a prize drawing. This query is the source for a report that prints out a pretty "your the winner"document. All of this is working well. However, what I'd like to do and can't figure out how is:
For the record in the Employee Table that was selected, not only do I want the report to report on the data, but I would like to update a field in the Employee Table to designate that this empolyee had been selected. Somehow I need the employee id number that was selected passed to an update query to update the "Selected" field.
Is this possible in Access? If so, please describe how it can be done.
Much thanks!!
Tom