Mike,
That is exactly what I am looking for. A temp table to insert the obtained record. I tried your code but it did not work. Is there anything I am doing wrong?
Sorry for the confusion.
Every time I move to the next record, I am basically getting the name of the next employee in which I would to like to perform a calculation to see whether or not he/she is eligible for reward days.
I am able to successfully move from one employee to another but I can't seem to insert the name of that employee in a table, which is used along another query to get info only for that employee out of many others.
"activeEmployeeName" is the function name that carries the name of that employee.
I hope this helps.