Option Button as Query Sort Parameter

  • Thread starter Barkley via AccessMonster.com
  • Start date
B

Barkley via AccessMonster.com

Is it possible to use an option button as a query sort option?

I have a form with two option buttons... when one option button is clicked I
want my query to be sorted according to that... any ideas?

Thanks
 
G

Guest

Use a calculated field in your query ---
SortOrder: IIF([Forms]![FormName]![Frame1] = 1, [Field_X], [Field_Y])
Nest more IIF's for more sorts.
 

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