WinCC - Report Designer - SQL problem

Lesa

Member
Join Date
Sep 2006
Location
Novi Sad
Posts
71
Hi guys,

I use WinCC 6.0

I have database in which i put informations about shifts. I have a window in which operator can see those informations and filter them based on time. Those are batch informations. I would like to make Report which can be printed with that informations. All I get is an empty table as result. This is my SQL statement in Data Connection Window in Dynamic Table Control in Report Designer:

SELECT BatchNr, WeightTime, CompOneWheight...
FROM Report
WHERE (WeightTime BETWEEN '$RW_DAY1$/$RW_MONTH1$/$RW_YEAR1$ 06:00:00' AND '$RW_DAY2$/$RW_MONTH2$/$RW_YEAR2$ 14:00:00')
ORDER BY WeightTime ASC


Those RW_DAY1, RW_DAY2 and other are tags that are configured in window. I have tested and printed only this tags and I get them well in Report.

Regional settings in win is dd/MM/yyyy

What do I do wrong, please help.
 

Similar Topics

Hello, Im having a little problem with report designer. The goal is to have a report of all the values from the tag logging archive 'test1'. I...
Replies
3
Views
3,027
Hi there I am using WinCC ver K6.0.3.0 File attached is the part of the report generated through WinCC 1)Under time column first date is...
Replies
0
Views
3,952
I have spent some time trying to read a text-file into my report but without any good result... Is there anyone who knows how to do this? It...
Replies
0
Views
3,851
Hello, I was looking for some advice. Is there functionality within WinCC (V7.5) to report , list or export all tags that have been used within...
Replies
0
Views
493
Hello all, I have a WinCC Project (Pro V16) connected to Information server 2014 SP3. Everything is configured and works as intended using the...
Replies
0
Views
1,607
Back
Top Bottom