Results 1 to 2 of 2

Thread: Query Question

  1. #1
    Join Date
    Oct 2003
    Posts
    4

    Question Unanswered: Query Question

    I have created a DB for my IT department at work to track work orders. Right now, techs have the ability to print a report of open calls or view all of their open calls. What I want to be able to do is just print open calls that I will be working on today. For example, if I have work orders 1432, 1467, 1583, 1789, and 2354 open but will only work on 1432, 1583, and 2354 today...how can I tell it to only print those jobs out?

    Right now, we have tech with 8 or nine pages of open calls and it is a serious waiste of paper when they have to print the entire report out every day just so they can work on 4 or 5 of them.

    Thanks for you help.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    well, based on the information you've provided...
    For example, if I have work orders 1432, 1467, 1583, 1789, and 2354 open but will only work on 1432, 1583, and 2354 today...how can I tell it to only print those jobs out?
    the best way to do this is
    PHP Code:
    select workorderno
         
    workorderdetails
      from workorders
     where workorderno in 
    (143215832354
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •