I have a command button that will close a form.(the button is on the main form) I would like to add code to the close button that checks to see if information is entered in the subform and if there is information then check to make sure there is a Date entered on the main form. if there is no date then have a message pop up and tell the user to enter a Date. If when the button is clicked and there is a date entered on the main form then just close the form.
Any help would be greatly appreciated
Tim
Any help would be greatly appreciated
Tim