Solved

Crystal Chart Horizontal Axis

Posted on 2014-03-10
9
378 Views
Last Modified: 2014-03-11
The chart in the screenshot shows several blood pressure readings. I’m working with Crystal Reports 2008. The database is Access 2010.

How can I change the horizontal axis so that it displays the date and time of each blood pressure reading?
Line ChartChart Design
0
Comment
Question by:Mark01
  • 4
  • 4
9 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 400 total points
ID: 39918613
Try putting the DATE field in the box under FOR EACH RECORD

If that doesn't work then use ON CHANGE OF instead of FOR EACH RECORD

mlmcc
0
 

Author Comment

by:Mark01
ID: 39919045
The date and time are now on the horizontal axis, but the wrong date is displayed. How do I format the date?
chart.jpg
design.jpg
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39919213
What do you mean the wrong dateis displayed?

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39919216
You put the time on the report.  It probably doesn't have a date associated with it except the default date which it is displaying

mlmcc
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Mark01
ID: 39919627
The table has both a time and date field. The time and date are entered for every blood pressure reading. The screenshots shows the time and date fields.
fields.jpg
table.jpg
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 400 total points
ID: 39919808
You only put the time field on the chart.  Most databases don't have a time datatye but simulate it with a datetime field with th edate ignored or set t day 0 which is generally 30 Dec 1899

DateTime(Date{tblBlood_Pressure.Date}), Time({tblBlood_Pressure.Time}))

Use that for the field in the chart

mlmcc
0
 

Author Comment

by:Mark01
ID: 39921443
I created a formula for the date and time, but I get an error. See the attached screenshots.

I used the following formulas:
DateTime(Date{tblBlood_Pressure.Date}), Time({tblBlood_Pressure.Time}))
DateTime((Date{tblBlood_Pressure.Date}), Time({tblBlood_Pressure.Time}))
Error-1.jpg
Error-2.jpg
0
 
LVL 34

Assisted Solution

by:James0628
James0628 earned 100 total points
ID: 39921542
mlmcc left out the "(" after the Date function.  Try this:

DateTime(Date({tblBlood_Pressure.Date}), Time({tblBlood_Pressure.Time}))

 James
0
 

Author Comment

by:Mark01
ID: 39921570
It works! Thank you, mlmcc and James0628.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now