• uzwa ul haque (12/19/2013)


    The Attendance System devices are a separate software. The data in there table is just like this. Some people do time-in and no time outs. I have to manage it in my reporting system and the report template is just like this.

    Any help is much appreciated.

    Thanks

    There's not enough information to provide sensible help yet.

    What do you want to do if there's a time in with no time out? A time out with no time in?

    Writing the code won't be difficult if you can tell us the business rules.

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden