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

Automatically Event Upgrade on 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
  • Automatically Event Upgrade on 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: ‎2022-11-23 11:46 PM . Last Modified: ‎2023-05-02 11:50 PM

0 Likes
6
1197
  • 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: ‎2022-11-23 11:46 PM . Last Modified: ‎2023-05-02 11:50 PM

Automatically Event Upgrade on Crystal Report

Hello everyone,

 

I get report with using Crystal Report but i have a problem with Event List. Event List not updating automatically

 

My Crystal Report page is like in the below. In the bottom of the page i have an Event List where I marked in red. I want to update this list automatically when any situation occurs. How can this situation be resolved? Do i need script or anything? Could you help me?

CrystalReport.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 6
sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2022-11-24 12:26 AM

0 Likes
5
1189
  • 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: ‎2022-11-24 12:26 AM

Event logs do not refresh automatically, this avoids excessive server loading.

You could add a refresh button, which could refresh the SQL in the query (use an animated query).

Or, don't use the event list for report status, animate the tags on the report which indicate report status and last run time.

  • 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.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-11-28 05:14 AM

In response to sbeadle
0 Likes
4
1087
  • 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: ‎2022-11-28 05:14 AM

How can i add Refresh button or something like this for situation? Or how can we use "Animation" for refresh list automatically? I couldn't find how to do it. Can you help me?

  • 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.

tfranklin
Commander tfranklin
Commander

Posted: ‎2022-11-28 07:45 AM

In response to abdullah123456789
0 Likes
0
1066
  • 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: ‎2022-11-28 07:45 AM

Your best bet is to use VBScript to do what you want. 

 

A script can be used to call the Generate or Export methods on the report, then on the next line refresh the list.  Note, you can't call the native report generation dialogue from script so if your report has parameters then you'll need to pass those in with the script.

 

 

  • 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.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2022-11-28 09:51 AM

In response to abdullah123456789
0 Likes
2
1059
  • 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: ‎2022-11-28 09:51 AM

To create a refresh button for the embedded list, create a button with a "Script" pick action, where the code sets the "Sql" property of the list, see Core Reference > Mimics > Animations > Sql 

 

The code will be something like:

Mimic.Layers(0).Item("Lst_1").Sql="<insert query here>"

Where "Lst_1" is the name of the list (and is located on the first layer of the mimic), and the string specifies the required SQL query.

 

Alternatively, simply left click on the list and choose "Refresh Query" menu option.


Andrew Scott, R&D Principal Technologist, AVEVA
  • 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.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-11-28 11:16 PM

In response to AndrewScott
0 Likes
1
1039
  • 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: ‎2022-11-28 11:16 PM

Hello,

 

I tried some SQL queries but it didn't work. I have set this myself but what does "Mode" do and I don't know which one to choose. The same goes for "Permission". Can you explain these two options and check if my sql query is true or false?

 

SQL.PNG

 

 

Also, Mimic page with button has has two different layers as "Data" and "Frame" as in the screenshot. The button is in Data Layer.

Layer.PNG

 

 

In addition, is there any command or script that can close the current page and open a new page when the button is pressed? I think it's like refresh the page.

  • 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.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2022-11-29 02:46 AM

In response to abdullah123456789
0 Likes
0
1024
  • 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: ‎2022-11-29 02:46 AM

That code is not well-formed VBScript nor valid SQL:

 

- The query string contains embedded double-quotes which haven't been escaped (or removed).

- The query string contains multiple lines.

- Tilde characters (~) in strings don't 'work' in VBScript.

- The SQL is prefixed with '<' and suffixed with '>'. NB. "<insert query here>" is using BNF where symbols are enclosed in chevrons.

 

Mimic.Layers("Data").Item("Lst_5").Sql="SELECT TOP( 2 ) RecordTime, Source, Message, User FROM CDBEVENTJOURNAL WHERE ( RecordTime BETWEEN { OPC 'H-1H' } AND { OPC 'H+1H' } ) AND ( Message LIKE '%Generate report%' ) ORDER BY Source ASC, RecordTime DESC"

 

The Mode and Permission attributes are both described in the help, see Core Reference > Coding > Scripting > Associate a Mimic Script with a Script Pick Action 


Andrew Scott, R&D Principal Technologist, AVEVA
  • 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.

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