• TopValues (2000)

    Author
    Topic
    #396440

    I am using TopValues in a query. If I specify 5, I get the top 5 values but if the fifth value is say 18 and there are other 18s, I get all the records with 18 as a top value so instead of getting the top 5, I get the top 5 plus any duplicates for the fifth value. In the properties sheet, I say unique values yes but I get the same result.

    Viewing 1 reply thread
    Author
    Replies
    • #742926

      This is probably to do with having other fields in your query with different values… If you do, ask yourself how you know which record with 18 in the topvalue field is the one you want?… Is there another field that answers that question… and is it string, number, date, etc data?

      Post back with sample data and/or the sql if you need help figuring it out…

    • #742927

      This is probably to do with having other fields in your query with different values… If you do, ask yourself how you know which record with 18 in the topvalue field is the one you want?… Is there another field that answers that question… and is it string, number, date, etc data?

      Post back with sample data and/or the sql if you need help figuring it out…

    Viewing 1 reply thread
    Reply To: TopValues (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: