A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Form not displaying fields when query empty



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2008, 02:12 PM posted to microsoft.public.access.forms
lordy16
external usenet poster
 
Posts: 2
Default Form not displaying fields when query empty

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
  #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

  #3  
Old April 15th, 2008, 12:45 AM posted to microsoft.public.access.forms
lordy16
external usenet poster
 
Posts: 2
Default Form not displaying fields when query empty

unfortunately that doesn't seem to resolve anything

"Golfinray" wrote:

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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.