Sort Button

M

Mark

I am trying to program a button in vba that performs a
sort on multiple fields. For instance, "Rank"
then "Name".

I have tried every combination of OrderBy that I can
think of. Is that the correct command?

Thanks
 
L

Larry Linson

_What_ are you trying to sort? Data displayed in a Form? Data in a Query?

If you are trying to sort data in a Table itself, that won't work --
relational database tables are, by definition, unordered.

Larry Linson
Microsoft Access MVP
 
G

Guest

Thanks for responding Larry,

Yes, I am trying to program a few buttons that will sort
records on more than one field in a continuous form. Do
I need to base the form on a query, or does that matter?

Thanks again,

Mark
 

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

Top