-----Original Message-----
Grant,
The way I would do it is define the CustomSort field in your query, as
you have done here, and then simply use CustomSort in the sorting of the
report. However, as long as the Color field is included in the report's
recordsource, I believe it will also work to put this in the report's
sorting...
=Switch([color]="Red","a",[color]="Blue","b",[color] ="Green","c")
--
Steve Schapel, Microsoft Access MVP
Sorry to be a pain about this but i am having trouble to
get the syntax working.
In a query i would use customsort like this:
Customsort:Switch([color]="Red","a",[color]="Blue","b",
[color]="Green","c")
could you please with the example above show me the
correct sytax to enter into a report sort field to
achieve the same results.
.