D
DS
At the end of the business day I want to hit a command button and have
all of the records from "Sales" and "SalesDetails" move from Database1
to "SalesHistory" and "SaleDetailsHistory" in Database2. I then want to
save the last "SalesID" from the "Sales" table, Delete all of the
records in "Sales" and "SalesDetails" in Database1, then finally when
the new business day starts be able to reference the last "SalesID"
number used and start atthe next number. So, how would I move the
records from one Database to another and then reference the saved number
to start the new day?
Thanks
DS
all of the records from "Sales" and "SalesDetails" move from Database1
to "SalesHistory" and "SaleDetailsHistory" in Database2. I then want to
save the last "SalesID" from the "Sales" table, Delete all of the
records in "Sales" and "SalesDetails" in Database1, then finally when
the new business day starts be able to reference the last "SalesID"
number used and start atthe next number. So, how would I move the
records from one Database to another and then reference the saved number
to start the new day?
Thanks
DS