Reply
 
Thread Tools Display Modes
  #1   Report Post  
moombi
 
Posts: n/a
Default Calculation field error

I used the following to info to hide the zero but when I do the number shows
up twice. What am I doing wrong? Here is what I have

{=(siteoffsitecost+bldgcost+misccost)\#"$,#.##;($, #.##);"}

and I am getting this result:

$265,687.79$265,687.79

DomMar,

You can use a regulare formula field (vice calculation field) with a numeric
switch to hide the zero.
Example. Say you have Text1 and Text2 as the varialbles. Set both to
calculate on exit. Enter the following formula field.
{ =(Text1+Text1) \# "#;-#; " }
Note the field braces { } are entered with CTRL+F9. Once you have the
field entered then toggle the code and protect the form.
Greg Maxey/Word MVP


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! I'm getting error messages too much-can't open Resume Wizard LizLB Microsoft Word Help 0 May 3rd 05 01:46 AM
How to make a Calculation field to show blank Brian Tables 4 April 7th 05 10:09 PM
Field code error when printing document Olga Microsoft Word Help 1 January 25th 05 06:59 PM
If field calculation Dawn Rhoads Microsoft Word Help 13 December 10th 04 08:27 PM
field calculation error, mailmerge, Cindy M -WordMVP- Mailmerge 0 November 30th 04 05:25 PM


All times are GMT +1. The time now is 08:12 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"