Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Negatives numbers in values Post Reply Post New Topic
Author Message
sacramento
Newbie
Newbie


Joined: 01 Oct 2008
Location: Portugal
Online Status: Offline
Posts: 19
Quote sacramento Replybullet Topic: Negatives numbers in values
     Posted: 26 Nov 2009 at 4:21am
Hi to all:

I have this formula:

dim somar as number
somar = {?recebimentos_clientes} - ({?pagamentos_fornecedores} + {?pagamentos_pessoal})
formula = somar

SOmetimes this formula give a negative number value ,but CR in the formula present always a positive number...

example:

somar = 5.200,00 - (7.500,00 + 10.000,00) = -12.300,00

the CR present 12.300,00...the signal it's lost

Any ideia to resolve the question?

Thanks


Edited by sacramento - 26 Nov 2009 at 8:49am
IP IP Logged
Vincent
Newbie
Newbie
Avatar

Joined: 19 Nov 2009
Location: Australia
Online Status: Offline
Posts: 7
Quote Vincent Replybullet Posted: 26 Nov 2009 at 8:18pm
Could the formatting for that field have been changed to not display the negative sign?
Vincent
IP IP Logged
sacramento
Newbie
Newbie


Joined: 01 Oct 2008
Location: Portugal
Online Status: Offline
Posts: 19
Quote sacramento Replybullet Posted: 27 Nov 2009 at 1:32am
Hi:

I had found the problem...in fact not a problem of CR...look:
The signal it's the solution...easy no!

dim somar as number
somar = {?recebimentos_clientes} + ({?pagamentos_fornecedores} + {?pagamentos_pessoal})
formula = somar


thanks
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum