overcharge
Technical User
Hi Experts,
Now i'm facing a problem for calculating sum.
ProgTitle(PK) ProgID SeqNo Duration(MMSS) Show Time(HHMMSS)
1 12 0 0300 070000
2 12 1 0200 070300
3 12 2 0250 070550
4 13 0 0100 080000
5 13 1 0146 080146
6 15 0 0201 090000
Above is my data, my problem is how to show the Show Time column in my CR report. Cry
When SeqNO= 0, i need to refer start time from another table which is linked with ProgID.
For example, for ProgTitle=1 and SeqNO=0, it means that the start time 070000, for ProgTitle=2, the show time is start time + 1st duration which is 0700000 + 3min = 070300... etc
We can see that there is a pattern. When the ProgID is same, we reder to the same start time and need to calculate its Show Time.
Any advices for me to solve this problem? Thank in advance.
Now i'm facing a problem for calculating sum.
ProgTitle(PK) ProgID SeqNo Duration(MMSS) Show Time(HHMMSS)
1 12 0 0300 070000
2 12 1 0200 070300
3 12 2 0250 070550
4 13 0 0100 080000
5 13 1 0146 080146
6 15 0 0201 090000
Above is my data, my problem is how to show the Show Time column in my CR report. Cry
When SeqNO= 0, i need to refer start time from another table which is linked with ProgID.
For example, for ProgTitle=1 and SeqNO=0, it means that the start time 070000, for ProgTitle=2, the show time is start time + 1st duration which is 0700000 + 3min = 070300... etc
We can see that there is a pattern. When the ProgID is same, we reder to the same start time and need to calculate its Show Time.
Any advices for me to solve this problem? Thank in advance.