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 Sammy145

  1. Sammy145

    Excel 2010 Paste Special -->Coloumn Widths - quick access toolbar

    Hi Guys, Is there a way to customize the ribbon to have the Paste Special Coloumn Widths option as a button on the toolbar rather than a couple of clicks . Cheers Sam
  2. Sammy145

    Query help -Sum current and ID

    Figured it out using subquery to next next row.
  3. Sammy145

    Query help -Sum current and ID

    Hi guys, Table structure Groupid value 1 0.91 2 1.2 3 0.2 4 1.6 I need to sumamrize the table. Add new coloumn-Summarygroupvalue2 Groupid value Summarygroupvalue2 1 0.91 0.91+1.2 2 1.2 1.2+0.2 3 0.2 0.2+ 1.6 4 1.6 1.6...
  4. Sammy145

    Work out last race winner

    Thanks drlex & Rofeu for looking into this and coming up with a solution much appreciated.
  5. Sammy145

    Work out last race winner

    Drlex Tested and your query produces what I need. I did mange to get the previous row by using this query below. I have amended it to your table drlex BUT wasn' able to work out how to get the next criteria's such as 3 races or 6 ps I can use multiple temp tables for this requirement. With...
  6. Sammy145

    Work out last race winner

    could we use a lookup table that had Raceid AND SORT BY ASC Sam
  7. Sammy145

    Work out last race winner

    Any HELP Please ????
  8. Sammy145

    Work out last race winner

    Yes it's a tricky one Here what i would expect as coloumns dogID |Finish position|RaceID|WinnerLastrace|Winnerlast3|winlast6 1 | 1 3 No No No 1 | 1 4 Yes No No 1 1 5 Yes...
  9. Sammy145

    Work out last race winner

    Hi mate, not for school for a job. Sam
  10. Sammy145

    Work out last race winner

    What do u mean a class? I need to work on a query that does this TSQL All i want to return is for points 1 an 2 is YES and for point 3 NO
  11. Sammy145

    Work out last race winner

    I need help in working out of a list of 100000 dog races, which dog has won there races what i need is 1. winner of Previous race (needed as coloumn (Yes/No) 2. winner of previous 3 races (needed as coloumn (Yes/No) 3. winner of previous 6 races (needed as coloumn (Yes/No) Finish position =...
  12. Sammy145

    Hierarchy update children when parent

    sql 2005 i created a c# solution thanks
  13. Sammy145

    Hierarchy update children when parent

    Hi what i want is query that will update all children to 'N' if the parent [ACTIVE] field is 'N', i want all children to be ACTIVE ='N' --The hierarchy can be 10 levels down --parent is 0 for top level CREATE TABLE [dbo].[Hierarchy]( [ID] [int] IDENTITY(1,1) NOT NULL, [ParentID] [int] NULL...
  14. Sammy145

    gridview with textbox header and itemtemplate

    Hi I have 1 question Question1 : I have a gridview with textbox in the header and item template. What I need help with is how do I populate the items but placing numeric values in the header. so if I put 10 in the header i want all the item textboxes to have 10. Thanks for any help in advance
  15. Sammy145

    Parent Child in varchar convert to integer

    bath is a parent of bathsuba NULL -->BATH ---->bathsuba

Part and Inventory Search

Back
Top