A2003 bug with format()

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Format does not handle a null value calculation with formating for nulls,

e.g. Format(Null/1,"0.0;;;0")
returns 128 0's
 
Conceptually I am not sure how you would format a null. Trap the null &
handle it separately. The Nz() function may be of interest
Terry
 
In what context?

In the Immediate Window (Ctrl+G), your expression returns a single zero in
my test, and this returns the L you would expect:
? Format(Null/1,"0.0;;;\L")
 
Back
Top