Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Query help (2000)

    I have a field in a query called "Size Category".
    The data in the field is 2-19, 20-50, 51-999, 1000+, Association. It is a text field.
    I want the data in that field to be in that order.
    How can I define another field that relates to this field so that it can determine the way the field is sorted? I hope this isn't confusing.
    Thanks for your help.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Query help (2000)

    Create a table

    <table border=1><td>SortField</td><td>Size Category</td><td align=right>1</td><td>2-19</td><td align=right>2</td><td>20-50</td><td align=right>3</td><td>51-999</td><td align=right>4</td><td>1000+</td><td align=right>5</td><td>Association</td></table>
    Add this table to your query and link it on Size Category. Add SortField to the query grid and set sort order to Ascending.

Posting Permissions

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