The DB is for HR.
HR inputs information on the employee. If it's the first record of the year for the employee, the starting vaca hours will be set to 0. I have a msg box that asks if the employee has vaca hours to use or would they like to enter the ammount of hours the employee has to start. If HR replies with "yes"(the employee has hours to use) I need the code to stop running in order to have HR enter the hours. I have tried all kinds of if statement, and do loops. I either send it into infinite loops or the code completes and enters the record into the tabel. How do I stop the code from running so that more info can be entered?
Adam
HR inputs information on the employee. If it's the first record of the year for the employee, the starting vaca hours will be set to 0. I have a msg box that asks if the employee has vaca hours to use or would they like to enter the ammount of hours the employee has to start. If HR replies with "yes"(the employee has hours to use) I need the code to stop running in order to have HR enter the hours. I have tried all kinds of if statement, and do loops. I either send it into infinite loops or the code completes and enters the record into the tabel. How do I stop the code from running so that more info can be entered?
Adam