Host your Web site with PureHost! |
![]() ![]() Thursday, December 11, 2008 – Permalink – Alphabetize by One Field or the OtherIf one is missing, use the otherLet's say you have a database that has the company name and a contacts name. In some cases the CompanyName field is empty. If that happens, you want to continue the alpha sort using the contact's LastName. To do this, you need to create an extra query field to provide the sort, using the NZ() function to replace the contents of one field for null values in another. (Nz(variant, [valueifnull])
Labels: Access <Doug Klippert@ 3:43 AM |