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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Report + chart



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2010, 12:08 PM posted to microsoft.public.access.queries
Ticotion
external usenet poster
 
Posts: 56
Default Report + chart

Hi

I have a report thats is open with a form selecting dates from "date1" to
"date2". The form is based on a table that contains all dates. The
report-chart then shows date range on the x-axis.

My problem is that if the query, that the chart is based on, has no values
for some of the dates in the selcted date range, the chart still shows these
dates (with no value). How do I change this, so that if there are no values
for the selcted date, then it does not show the date?

For information the query gives me the correct result

And

I use the follwoing code when I run the report from the form

oCmd.OpenReport "RptCellSURGraf", acPreview, , "[Dato] = #" &
Format(Me.Kombinationsboks5, "mm\/dd\/yyyy") & "# And [Dato] =# " &
Format(Me.Kombinationsboks11, "mm\/dd\/yyyy") & "# And [Sektor] = " &
Me.Combo35 & " And [CelleNr] = " & Me.Kombinationsboks16 & " ", ,
acWindowNormal

Thank you for your help

Ticotion
 




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 12:27 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.