I have two tables. tblClass and tblWithdrawn. On my main form(bound to tblClass) I have several data entry fields like
Date withdrawn,
Status (active or withdrawn)
Date Classified etc.
Also there is one command button called cmdAppendDelete . On click this command button two queries are run .(append and delete)
When user selects Status = Withdrawn and enter the "Date Withdrawn", he has to click on this command button.
Append query appends recently eneterd withdrwan data to tblWithdrawn and
Delete query that deletes the same record from class table.
I got that all working.
When user enter the data and click the cmdAppendDelete it also runs both the queries simultanelouly.
Those messages usually access shows when it is running append and delete query says " 0 rows are copied to tblWithdrawn and 0 rows are deleted from tblClass"
Ok. after two seconds if I click on the cmdAppendDelete , it does its job and appends row to tblWithdrwan and delete the same row from tblClass. And now the messages are " 1 row are copied to tblWithdrawn and 1 rows are deleted from tblClass"
Why is that? Is there any way around it?
(The user should immedieately be able to append and delete the record. That is my concern)
Date withdrawn,
Status (active or withdrawn)
Date Classified etc.
Also there is one command button called cmdAppendDelete . On click this command button two queries are run .(append and delete)
When user selects Status = Withdrawn and enter the "Date Withdrawn", he has to click on this command button.
Append query appends recently eneterd withdrwan data to tblWithdrawn and
Delete query that deletes the same record from class table.
I got that all working.
When user enter the data and click the cmdAppendDelete it also runs both the queries simultanelouly.
Those messages usually access shows when it is running append and delete query says " 0 rows are copied to tblWithdrawn and 0 rows are deleted from tblClass"
Ok. after two seconds if I click on the cmdAppendDelete , it does its job and appends row to tblWithdrwan and delete the same row from tblClass. And now the messages are " 1 row are copied to tblWithdrawn and 1 rows are deleted from tblClass"
Why is that? Is there any way around it?
(The user should immedieately be able to append and delete the record. That is my concern)
Comment