View Single Post
  #2  
Old April 14th, 2008, 02:33 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Form not displaying fields when query empty

If it because of nulls in the query, put Is Not Null in the query criteria
that is producing the blanks.

"lordy16" wrote:

Hey All,

I have an issue with a query-based form. The query has a parameter in it,
and my issue is that when the query returns with an empty dataset, the form
doesn't display at all, only the Form header displays but everything in the
detail section of my form is gone, including all the buttons etc.

Is this an issue with access or something easily fixed? i would have
expected it to just display a blank form. is there a way i can check if the
query is going to be empty and display an alert or something of the sort?

Cheers

Chris