I have a main form with a subform and the subform has a tab control with 4 pages on it. I have a page to add items and quantities to the list, a page to review the list of items, a page to delete items from the list, and a page to edit quantities of existing items in the list. The idea is to be able to edit elements of the subform record until it is correct and then save it.
All the pages work properly except for the edit quantities page. It is a datasheet form. The sheet works properly until I edit the last item in the list. Upon updating the field in the last item in the datasheet, the entire form updates and the current record in the subform moves to a new record. Can someone tell me why this might be happening? Would a solution be to have code in the editable datasheet field that moves to the first record in the list upon updating the last record in the list? If so could someone help me with that code? Thanks for your help!!
All the pages work properly except for the edit quantities page. It is a datasheet form. The sheet works properly until I edit the last item in the list. Upon updating the field in the last item in the datasheet, the entire form updates and the current record in the subform moves to a new record. Can someone tell me why this might be happening? Would a solution be to have code in the editable datasheet field that moves to the first record in the list upon updating the last record in the list? If so could someone help me with that code? Thanks for your help!!