Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by TanmedIT

  1. TanmedIT

    Need Help With CASE Statement (Newbie)

    LNBruno, Msg 102, Level 15, State 1, Line 29 Incorrect syntax near ','. here is the line: ELSE ('Elbow','Femur','Glenoid','Great Toe','Hum. Stem','Lesser Toe','PLATE','Plug','Prime Pin','Prm Screw','Prox Screw','Rad. Stem','RES
  2. TanmedIT

    Need Help With CASE Statement (Newbie)

    still no go.. getting same error even when I replace the double quotes with singles
  3. TanmedIT

    Need Help With CASE Statement (Newbie)

    THE ERROR IS ON THIS LINE (PROBABLY THE FIRST ","): ELSE ('Elbow','Femur','Glenoid','Great Toe','Hum. Stem','Lesser Toe','PLATE','Plug','Prime Pin','Prm Screw','Prox Screw','Rad. Stem','RES
  4. TanmedIT

    Need Help With CASE Statement (Newbie)

    I GET THIS ERROR: Msg 102, Level 15, State 1, Line 29 Incorrect syntax near ','. HERE IS MY QUERY: SELECT SOP10200.SOPTYPE, SOP10100.VOIDSTTS,SOP10100.SOPNUMBE, IV00101.ITEMNMBR, RM00101.CUSTCLAS, SOP10100.SALSTERR, SOP10106.USRDAT01, SOP10100.CUSTNMBR, IV00101.USCATVLS_1...
  5. TanmedIT

    Need Help With CASE Statement (Newbie)

    I am trying to figure out how to use these CASE statements. I have a Stored Procedure that is capturing some incorrect data. I need to to filter out base on 2 criteria: If USCATVLS_1 = "Latitude" then USCATVLS_2 = "Hum. Stem" else If USCATVLS_1 = "RHS" then USCATVLS_2 = "Rad. Stem" else...
  6. TanmedIT

    Stored Procedure Help

    WORKED LIKE A CHARM
  7. TanmedIT

    Stored Procedure Help

    Thanks, i will give it a try
  8. TanmedIT

    Stored Procedure Help

    I understand this, but can't I create a temp tables with these headings, then populate it with some kind of "do while" or something to that effect. I know it can be done, i am just not sure how to do it. I remember doing something like this with "C" programming back in college, but that was...
  9. TanmedIT

    Stored Procedure Help

    I first apologize if this is in the wrong forum. I am new to SQL and I have a stored procedure question. I have 2 tables that I need to combine into one temp table. Table One (Distributor Information): DistributorID Tables Two (Item Information): Item Number, Class ID I need to create a...
  10. TanmedIT

    Help with Ranking

    Probably at the most 100..
  11. TanmedIT

    Help with Ranking

    I think I have read every thread on this subject but none really pertain to what I am trying to accomplish. I have a report that uses 2 subreports, one that totals all unposted sales and one that totals posted sales. I set up shared variables in both reports that i use to creates a total in...
  12. TanmedIT

    SUM IF Question

    John, that is exactly what I needed. Thanks. And I truly apologize for coming off sounding like a jerk. I know this could have been a much better report with Pivot Tables, but this is what I had to work with and it had to be done by 4pm today (its 3:11) Thanks again for your replies
  13. TanmedIT

    SUM IF Question

    Because I am using the original information to calculate values on a separate worksheet, which is ALREADY formatted.. I can probably figure it out, but I was hoping to save sometime by asking here. I know it can be easily done in a pivot table, but I don't want to recreate the wheel on a...
  14. TanmedIT

    SUM IF Question

    Sorry, that can't work because I am using this worksheet to created a 2nd sheet with formatted text. It has to be a formula that I will use in a cell
  15. TanmedIT

    SUM IF Question

    Sorry I meant to say: I need to add up the "Qty" when the "P/N", "L/N", and "From" are equal to others in the same column. For instance Rows 2 and 3 match so the total Qty would be 21. Thanks in Advance

Part and Inventory Search

Back
Top