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

Generate and Show with Only One Button In Crystal Report

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
  • Generate and Show with Only One Button In Crystal Report
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
abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2023-03-14 11:24 PM . Last Modified: ‎2023-05-02 11:47 PM

0 Likes
4
890
  • 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-03-14 11:24 PM . Last Modified: ‎2023-05-02 11:47 PM

Generate and Show with Only One Button In Crystal Report

Hello,

 

I generate report with using Crystal Report in Geo SCADA. I created a page and added three buttons in this page. One of this button is Generate button and the one of is Show button and the other is Refresh button. I've designed this page like this because sometimes the generate time can take a long time so since the current report has not been prepared yet, the displayed report may belong to the previous one. By using the Refresh button, I can also confirm whether the desired report has been prepared by seeing the latest movements on the list I have created.

 

However i need to generate and show the report i've created with only one button. In this way, I will no longer need the refresh button and the list. Is it possible for me to solve this situation I mentioned with a script or another way? Can you help me?

Untitled.png

Labels
  • Labels:
  • SCADA
  • ViewX
  • 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 4
AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2023-03-15 03:26 AM

0 Likes
0
880
  • 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-03-15 03:26 AM

Generating a report is asynchronous so you would have to poll the server to detect when the report has started and completed generating before displaying the report.

 

The CCrystalReport::Status (0 = idle, 1 = failed, 2 = pending, 3 = in-progress) and CCrystalReport::DataTimestamp (time of last status change) database fields could be read by a script to monitor the progress of the report generation. As this is polled you would need to use the timestamp to handle missing state transitions between polls.

 

You could also animate the CCrystalReport::StatusDesc and CCrystalReport::DataTimestamp properties on the mimic rather than having an event list which you have to manually refresh to see the status of the report.


Andrew Scott, R&D Principal Technologist, AVEVA
Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2023-03-15 09:29 PM

0 Likes
2
869
  • 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-03-15 09:29 PM

As Andrew said...

But also... do you need to have the view of the report within the ViewX at this particular time?

Perhaps if the user instead could enter in their email address and then push the button it could export the report in PDF and email them when the report is generated.

You can do this using the standard export systems around the Crystal Reports.  You'd just need some logic to take in the email address, and allow for the changing of the Report properties to include the email in the export settings.

 

 


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Reply

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

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2023-03-17 02:25 AM

In response to BevanWeiss
0 Likes
1
856
  • 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-03-17 02:25 AM

Unfortunately, exporting the report as pdf or sending it to e-mail is not something that will solve my problem completely. When the created button is pressed, the desired report should be created and displayed within a few seconds at most, and it should do this in ViewX.

Reply

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

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2023-03-17 09:25 PM

In response to abdullah123456789
0 Likes
0
852
  • 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-03-17 09:25 PM

As the Crystal Reports generation is asynchronous to operator actions, then you'd need to do as Andrew suggests and have some script do polling type actions on it.

This would result in a very bad user experience.  You'd need to have them push the button, and then indicate that the system is 'thinking' by changing the mouse cursor or something.  Try to get them not to push other buttons or such, whilst the script is running in the background.  Then you could have the script do a navigate to view the report once it's ready.

I think you'd get complaints from the users about it appearing to freeze, and weird stuff if they click other things, or it not working if they navigate away and back again, etc, etc..

 

You could potentially look into an alternative reporting framework, like Microsoft SQL Server Reporting Services, or PowerBI or something more user-centric than purely report-centric.  Crystal Reports is really best as a behind the scenes scheduled report engine.  Whilst it can do on-demand reports, its UI experience around this isn't very nice (and the ViewX-Crystal Reports interface hasn't been designed to really support this on-demand reporting from Crystal Reports either).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
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