Steve Schapel
miscellany at mvps.org
Sun Nov 2 11:54:13 CST 2008
Rocky, A possible further simplification: SELECT VarietyTBL.VarietyID, VarietyTBL.Class, VarietyTBL.Variety FROM VarietyTBL ORDER BY IsNull(Class), VarietyTBL.Variety Regards Steve Rocky Smolin at Beach Access Software wrote: > Andy: > > Very clever! And works with only minor mods: > > SELECT VarietyTBL.VarietyID, VarietyTBL.Class, VarietyTBL.Variety > FROM VarietyTBL > ORDER BY IIf(IsNull(Class),2,1), VarietyTBL.Variety; >