Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Format Property - Microsoft Access

RSS
Modified on Fri, Nov 11, 2011, 1:29 PM by Administrator Categorized as Microsoft Office
In Microsoft Access, custom number formats can have one to four sections with semicolons (;) as the list separator. Each section contains the format specification for a different type of number. If you use multiple sections but don't specify a format for each section, entries for which there is no format will either display nothing or default to the formatting of the first section.

SectionDescription
FirstPositive Numbers
SecondNegative Numbers
ThirdZero
FourthNulls

Example
$#,##0.00[Green];($#,##0.00)[Red];"Zero";"Null"

As an alternative, consider using Conditional Formatting. In Access 2007, Conditional Formatting is available on the Design tab; in Access 2010, it's on the Formatting tab.

Conditional Formatting button in Access 2007

Conditional Formatting button in Access 2007

  Name Size
- ConditionalFormatting.png 11.09 KB

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2018, Patrick Jasinski.