Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Crystal Report Problem Displaying Data in Different Date Range

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Crystal Report Problem Displaying Data in Different Date Range
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Geo SCADA Expert Forum
aed
Ensign aed
Ensign

Posted: ‎2023-02-20 02:55 AM . Last Modified: ‎2023-05-02 11:48 PM

0 Likes
6
1428
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-20 02:55 AM . Last Modified: ‎2023-05-02 11:48 PM

Crystal Report Problem Displaying Data in Different Date Range

Hi,

I created a report on the design side of the crystal report. When I preview the report I created, it shows the data for the time period I selected. Below are my settings.

 

1.PNG

 

Selected date range 01 February 2023 - 20 February  2023

2.PNG

 

 

The time interval shown when pressing the preview button =  01 February 2023 - 20 February 2023

 

3.PNG

 

 Now I will open my report by generating the Report in Geoscada. I still choose the same time zone.

 

4_Generate.PNG

 

When I press the report screen and button, it contains 1 day before the time interval I selected and shows it like this.So the time range it shows =  31 January 2023 - 20 February 2023 . Why when I view the report in Geo Scada it starts 1 day before the selected date. Can you help me?

 

5_Raporlama.PNG

 

6.PNG

 

 

 

 

 

 

Labels
  • Labels:
  • SCADA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-02-21 10:04 AM

0 Likes
3
1400
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-21 10:04 AM

This might be a time zone issue. Time Zone Support in Geo SCADA Expert 

 

The client PC where you request the report generation has a time zone which is used when entering dates and times such as the range parameter to the report. These dates will be converted to UTC when ViewX passes them to the server to generate the report. You've not said what time zone your system is in, but if it is CET (UTC+01:00) then this would give a range of 31-JAN-2023 23:00:00 UTC to 19-FEB-2023 23:00:00 UTC.

The server that generates the report also has a time zone (which may be different to the client PC's time zone).

The ODBC data source used to generate the report has a time zone setting called "Local Time", see Define whether Geo SCADA Expert Converts Time Stamps to Local Time which affects how dates/times are handled in queries.

 

It may be worth checking what dates are in the SQL query that Crystal Reports sent to the database, see Server Status Tool Latest Queries 


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

Link copied. Please paste this link to share this article on your social media post.

aed
Ensign aed
Ensign

Posted: ‎2023-02-22 03:08 AM

In response to AndrewScott
0 Likes
2
1386
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-22 03:08 AM

Hi,

 

Yes, as you said, there is a problem with Time Zone.To understand that it is caused by time, I followed the steps below.

 

  1. I am starting the report preview review date from 02.02.2023 at 4 o'clock.

 

aed_0-1677063960379.png

 

 

  1. It shows the data at 4 o'clock on the preview screen when I start and say show it. It throws 0 to data before 4 o'clock.

aed_1-1677063960387.jpeg

 

 

  1. I will do the same in Geoscada.. Again, I select the same time period and generate my report.

aed_2-1677063960392.png

 

 

 

  1. When we view the report after generating it, it also shows the data before 4 o'clock. There is a problem with UTC. But I couldn't find what is the cause of this problem. Can you help me?

aed_3-1677063960405.png

 

  1. Below are my Historic View hourly table settings.

 

aed_4-1677063960407.png

 

 

  1. Below are my ODBC settings. There is no difference whether I select "Local time" here or not. It continues to show the data 3 hours behind in the same way.aed_5-1677063960410.png

     

  • Tags:
  • Crystal Report
Reply

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-02-22 03:34 AM

In response to aed
0 Likes
1
1385
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-22 03:34 AM

The time period you entered into the Crystal Reports preview will be in UTC, but the time period you entered into ViewX will be in local time (UTC+03:00), so they are not the same time period, as they are in different time zones.

 

One option would be to create a Geo SCADA user account that displays times in UTC. That way the time period you enter into ViewX will be in UTC and not in local time, see Define the Regional Settings for a User 


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

Link copied. Please paste this link to share this article on your social media post.

aed
Ensign aed
Ensign

Posted: ‎2023-02-23 06:43 AM

In response to AndrewScott
0 Likes
0
1363
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-23 06:43 AM

 

I deselected the date time part in Geoscada user settings. If the data type of the "Date" parameter in the crystal report is "date time", it displays the data in the desired time interval by geoscada. But if the data type of the "Date" parameter is selected as "date", Geoscada continues to show the data 1 day in advance. I couldn't upload the pictures directly here. I got an error. That's why I added the details of the subject to the word document. You can check it from there. I need to solve this problem. I request your support.

 

 

 
 

 

 

 

 

Attachments
  • Tags:
  • Crystal Report
Reply

Link copied. Please paste this link to share this article on your social media post.

aed
Ensign aed
Ensign

Posted: ‎2023-02-26 09:40 PM

0 Likes
0
1340
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-26 09:40 PM

Could you help us this topic?

Reply

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-02-27 05:01 AM

0 Likes
0
1330
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-27 05:01 AM

My guess is that when Crystal Reports converts the value of the parameter from a Microsoft COM variant containing a date/time (of type VT_DATE) to its special date-only parameter type that it discards the time part of the value, thus rounding it down.

 

Reviewing the SQL query generated by Crystal Reports (see earlier comment) may confirm its behaviour.


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of