I have a form that only has a Richtext box on it and Save button. the only thing that happens when the button is clicked is
I want to add an If statement that checks if "Me.Comment" is blank and then deletes the record. For example, the user starts to write a comment but then uses Backspace to delete their text. I don't want the blank comment to be saved to the table.
Code:
DoCmd.Close acForm, "Comments", acSaveYes