LPARAMETERS nColIndex Local lcMessage, lnResponse WITH ThisForm IF .IsChanged() lcMessage = "Do you want to save your changes before proceeding?" lnResponse = MESSAGEBOX(lcMessage, 4 + 32, "Save changes?") IF lnResponse = 6 && Yes (7=No) .cmdSave.Click() && Clicks the SAVE command button. ELSE .Revert() .cmdSave.Enabled = .F. ENDIF ENDIF .IsDeleted() *** TWO NEW LINES OF CODE FIXED THE PROBLEM. *** The PARENT tbale is already selected, so select *** the CHILD table then go back to the PARENT. This *** causes the data to display properly, rather than *** appearing to have the child record stuck where it *** orginated from. SELECT POBYRFIL SELECT (.cTable) *** .CountRecs() ENDWITH