Sort Query Results

  • Thread starter Thread starter vladimir.mcbadger
  • Start date Start date
V

vladimir.mcbadger

Hi,

I use the following SQL to generate a histogram type query - i.e.
results are banded into

Critical, High,medium and low across one acis and age is banded across
another axis. As the bands are uneven I have used a table called
"intervals" to define the intervals. Everything was fine until today
when the table re-sorted itself and the Y axis (time intervals) is no
longer in a logical order.

I hope this makes sense - any idea on how you could re-order the y
axis.

I have tried the normal right click - sort ascending and this does not
work.

TIA

Vlad
 
Tables have no order. Access makes it look that way; however, it can also
change things around at a whim.

If you want to view your records in a certain order, you need to do it in a
query and sort the field(s) in question. If those fields don't sort as you
wish, you need to create a number field in the table and manually number the
fields in the way that you wish to see the records. Then in a query sort on
that field.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top