Use your pdf converter to make your pdf files easy! You can now buy software that makes converting pdf to doc possible! Did you know you can even convert pdf to word? Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word ![]() ![]() Host your Web site with PureHost! ![]() |
![]() ![]() Saturday, October 03, 2015 – 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])
When you run the query, if CompanyName is null (empty — no entry), the NZ() function uses the contents in LastName instead. Here's another way to do it: ![]() ![]() See all Topics access Labels: Functions, General, Properties, Queries, Reference, Shortcuts, Tips, Tutorials <Doug Klippert@ 3:46 AM
Comments:
Post a Comment
|