Chimp8471
Registered User.
- Local time
- Today, 17:45
- Joined
- Mar 18, 2003
- Messages
- 353
in my database, we track stoppage on production lines.
the stopages a re stored in TblEvents... the numbers under the minor and major categories are in downtime minutes.
i need to now how many times an eventcode has happened between a timeframe
for example,
i need to now how many time code s301 has stopped between
>1 <3
>= 3 <5
>= 5 <7
>= 7 <10
>= 10+ minutes
looking at my database, the answer should be
4 minor stops and 1 major stop
i need this foe each catagory minor and major stops,
so the display would be
line( Hidden) -- daycode(hidden) -- Event code -- Minor stop >1 <3 -- minor stops >= 3 <5-- etc then Major Stops >1 <3 etc
cheers
Andy
the stopages a re stored in TblEvents... the numbers under the minor and major categories are in downtime minutes.
i need to now how many times an eventcode has happened between a timeframe
for example,
i need to now how many time code s301 has stopped between
>1 <3
>= 3 <5
>= 5 <7
>= 7 <10
>= 10+ minutes
looking at my database, the answer should be
4 minor stops and 1 major stop
i need this foe each catagory minor and major stops,
so the display would be
line( Hidden) -- daycode(hidden) -- Event code -- Minor stop >1 <3 -- minor stops >= 3 <5-- etc then Major Stops >1 <3 etc
cheers
Andy