many sort criteria for one group in access report

S

sierralightfoot

Within one group I have, let's say, a return that starts with "A" and "B and
"C".
if the value starts with "A" I want to sort by field [x] if it starts with
"B" sort by field [y]... etc.
 
K

KARL DEWEY

Create a calculated field like this ---
Sort_Field: IIF(Left([Z],1)="A", [X], IIF(Left([Z],1)="B", [Y], [Z]))
 

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