Save/Cancel Buttonsif no Errors and want to save .... Do nothing as BO's will be saved from Parent FormIf Errors or I Choose to Abort the Changes ...... Case: (1) If was adding a record......BO.DeleteCurrentRow() or Revert to original state of BO; //I no longer want the record added (2) If I was Editing a record ...... Revert to original state of BO // want to keep the state prior to editing
I am not sure how to use the EditingState, as I need to kow whether I am adding a new row or editing an exisitng row, but it would appear that I need to have EditingMode = Editing to be able to edit either the new or exisitng record.