|
-
Mar 30th, 2006, 03:25 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] CR 11... format a number in a formula field?
hello,
I have a number displaying from a formula field. The reason I put it in a formula field is because I needed to add a "-" before it. My problem is that the number displays "-5.00". I need to know how to get rid of the decimal fomatting in a formula field...
Anyone have an idea?
-
Mar 30th, 2006, 06:16 PM
#2
Lively Member
Re: CR 11... format a number in a formula field?
 Originally Posted by Besoup
hello,
I have a number displaying from a formula field. The reason I put it in a formula field is because I needed to add a "-" before it. My problem is that the number displays "-5.00". I need to know how to get rid of the decimal fomatting in a formula field...
Anyone have an idea?
I haven't used CR11 yet, but does it allow you to right-click the formula field on the form and then select format from the popup menu?
If it does then choose format -> Numbers -> custom format and do whatever you please.
HTH
-
Mar 31st, 2006, 09:08 AM
#3
Thread Starter
Frenzied Member
Re: CR 11... format a number in a formula field?
 Originally Posted by King_George
I haven't used CR11 yet, but does it allow you to right-click the formula field on the form and then select format from the popup menu?
If it does then choose format -> Numbers -> custom format and do whatever you please.
HTH
yeah you can right click and format field but there is not number formatting in the format box.
die crystal! :P
-
Mar 31st, 2006, 09:37 AM
#4
Addicted Member
Re: CR 11... format a number in a formula field?
I'm guessing in your formula was interpreted as a string now because you added the "-" in the formula by using a string concatenation like "-" & yournumber. You need to create a formula that retains being a number and then you can still format it. Try changing your formula to be -1 * yournumber (to get the negative in front) and then when this formula is placed on your report it is still considered numeric and can be formated to not display the decimals.
-
Mar 31st, 2006, 09:45 AM
#5
Thread Starter
Frenzied Member
Re: CR 11... format a number in a formula field?
 Originally Posted by ducky
I'm guessing in your formula was interpreted as a string now because you added the "-" in the formula by using a string concatenation like "-" & yournumber. You need to create a formula that retains being a number and then you can still format it. Try changing your formula to be -1 * yournumber (to get the negative in front) and then when this formula is placed on your report it is still considered numeric and can be formated to not display the decimals.
tried :
-1*{PO_Header.PO_Header_Draw_Number}
and still got the same result =/
-
Mar 31st, 2006, 09:46 AM
#6
Thread Starter
Frenzied Member
Re: CR 11... format a number in a formula field?
nvm, now I can format the field like it is numeric... thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|