I have a search form that uses an Option Group, text boxes and a checkbox to gather information from the user that is used in a query for information.
If I do a query and there are no results (Docmd.OpenForm(,,MyQuery,,)) , the split form windows opens as blank and the controls that I incorporated on the form(Edit and Close) are not visible.
So I thought well maybe I should do a DLookup first to determine if a query returns null thereby returning control to the search form highlighting that no records were found. If the DLookup was not null then proceed with the DoCmd.OpenForm command.
I am a novice to Access. Is there another way to resolve this problem?
Tom