Note that there are some explanatory texts on larger screens.

plurals
  1. POLine-shift report, Line-day report
    primarykey
    data
    text
    <p>I'm generating a line-shift report:</p> <p>In my application, I'm providing a dropdownlist for selecting shift and line and they will select a date from calender</p> <p>I have 3 shifts</p> <ul> <li>shift1 starts at 7am and ends at 3pm</li> <li>shift2 starts at 3pm and ends at 11pm</li> <li>shift3 starts at 11pm and ends at 3am</li> </ul> <p>I have a table called <code>datalogging</code> where login information will be stored as shown below:</p> <pre><code>Name Shiftname ID operatorname Date plantname line Machine Pradeepa Shift2(11-7) 3 Operator 3 2011-05-28 Plant 3 Line5 mc10 Ashwini Shift1(7-3) 1 Operator 1 2011-05-29 Plant 3 Line6 mc12 Deepika Shift2(11-7) 2 Operator 3 2011-05-29 Plant 5 Line9 mc18 Ashwini Shift1(7-3) 1 Operator 1 2011-05-24 Plant 1 Line1 mc1 Deepika Shift2(3-11) 2 Operator 2 2011-05-24 Plant 2 Line3 mc5 Ashwini Shift2(3-11) 1 Operator 2 2011-05-25 Plant 2 Line3 mc5 </code></pre> <p>and so on..</p> <p>I have a parameter table like temperature,pressure,ph,speed,co2 etc</p> <p><code>Temperature</code> table contains following data and this table will contains all the reading from 7am to till 3am</p> <pre><code>Temperature Time Date 27 13:13:54.000 2011-05-25 27.3 13:14:04.000 2011-05-25 27.6 13:14:14.000 2011-05-25 27.9 13:14:24.000 2011-05-25 28.2 13:14:34.000 2011-05-25 28.5 13:14:44.000 2011-05-25 27 16:13:29.000 2011-05-26 27 16:13:31.000 2011-05-26 </code></pre> <p>and so on..</p> <p>The user will select a line from dropdownlist and shift and he will select a date from th calender If the user select shift2,line3 and date 25/05/2011 what are the readings are there between 3pm to 11pm should be displayed in my report</p> <p>My report should look like:</p> <pre><code>Machine Shiftname Date Time Temperature mc5 Shift2 25/05/2011 13:13:54.000 27 mc5 Shift2 25/05/2011 13:14:04.000 27.3 mc5 Shift2 25/05/2011 13:14:14.000 27.6 </code></pre> <p>I'm also doing line-day report</p> <p>where shiftname should change according to time for eg if time changes to 23:00:00 shiftname should change to shift3 in my report</p> <p>if the user select particular shift and date for eg if the user selects shift1,line1 and date my report should contain all reading between 7am to 3pm</p> <p>can any one help me on this.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload