PC Review


Reply
Thread Tools Rate Thread

Date in report header showing Error# (DON'T want to cancel report)

 
 
Duane Hookom
Guest
Posts: n/a
 
      16th Dec 2004
You can't get a parameter prompt value to show in a query that doesn't
return any rows. Consider junking all parameter prompts in favor of values
from controls on forms. This is much more flexible, functional, and
powerful.

--
Duane Hookom
MS Access MVP
--

"rgrantz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a report whose source is a query. In the query, the Date field has
>a
> criteria prompt for the user to set at runtime. The report header has a
> field whose source is "=[Enter Date]" (which is the prompt in the query).
> It all looks and works great unless there are no records returned by the
> query.
>
> Now, I don't want to cancel the report, I want the 0 (zeroes) to show up,
> and in the footer I have Dcounts and calculated fields and things that
> show
> that fine (showing zeroes and zero percentages, etc.), but the Date in the
> report header (=[Enter Date]) shows Error# when there are no records. How
> can I set the field to show what was entered as the parameter even if no
> records are returned?
>
> I looked for this in the newsgroups, but it appears everyone was always
> happy with just cancelling the report, instead of actually printing it and
> showing the zero values.
>
> Thanks for any help
>
>
>
>



 
Reply With Quote
 
 
 
 
rgrantz
Guest
Posts: n/a
 
      16th Dec 2004
I have a report whose source is a query. In the query, the Date field has a
criteria prompt for the user to set at runtime. The report header has a
field whose source is "=[Enter Date]" (which is the prompt in the query).
It all looks and works great unless there are no records returned by the
query.

Now, I don't want to cancel the report, I want the 0 (zeroes) to show up,
and in the footer I have Dcounts and calculated fields and things that show
that fine (showing zeroes and zero percentages, etc.), but the Date in the
report header (=[Enter Date]) shows Error# when there are no records. How
can I set the field to show what was entered as the parameter even if no
records are returned?

I looked for this in the newsgroups, but it appears everyone was always
happy with just cancelling the report, instead of actually printing it and
showing the zero values.

Thanks for any help




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing subreport value in main report page header Valerie Wong Microsoft Access Reports 3 4th Feb 2009 06:09 PM
How to cancel printing of group header sections on report =?Utf-8?B?RWRkeQ==?= Microsoft Access Reports 2 17th May 2006 07:40 PM
Showing a value from a form in a report header =?Utf-8?B?TmllbHNF?= Microsoft Access Reports 4 5th Dec 2005 07:21 PM
Header not showing in printed report =?Utf-8?B?RGVubmlz?= Microsoft Access Reports 0 19th Apr 2005 11:34 PM
Run Query from date to date, Print the from date to date in the header of the report? Dustin Swartz Microsoft Access Queries 1 25th Jan 2005 07:06 PM


Features
 

Advertising
 

Newsgroups
 


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