Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

Generate and Show with Only One Button In Crystal Report

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

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
  • Communities
  • 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 Exchange 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
Janeway sbeadle Janeway
214
BevanWeiss
Spock BevanWeiss
81
AndrewScott
Captain AndrewScott
49
AdamWoodland
Commander AdamWoodland Commander
23
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
Lieutenant abdullah123456789
Lieutenant

Posted: 2 weeks ago

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

Posted: 2 weeks ago

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
Share
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
AndrewScott
Captain AndrewScott
Captain

Posted: 2 weeks ago

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

Posted: 2 weeks ago

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 Senior Member of Technical Staff, AVEVA
Reply
Share
BevanWeiss
Spock BevanWeiss
Spock

Posted: 2 weeks ago

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

Posted: 2 weeks ago

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
Share
abdullah123456789
Lieutenant abdullah123456789
Lieutenant

Posted: 1 week ago

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

Posted: 1 week ago

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
Share
BevanWeiss
Spock BevanWeiss
Spock

Posted: 1 week ago

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

Posted: 1 week ago

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
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc