calculation problem

T

taco

Hi Everyone;

Thanks in advance for your time and help. I'm trying to multiply variable
numbers with 0.01 or 0.02. I've wrote following expression into the control
box where I'll have the result.
=([CrIn]+[CrOut])*[TrValue]
When I'm multiplying 6,000 with 0.02 result is 12,000 instead of 120
Any idea why and how can I correct this ?
P.S. For all controls in this calculation Field Size is "Double", Format is
"Standard" and Decimal Places "2"
 
J

John W. Vinson

Hi Everyone;

Thanks in advance for your time and help. I'm trying to multiply variable
numbers with 0.01 or 0.02. I've wrote following expression into the control
box where I'll have the result.
=([CrIn]+[CrOut])*[TrValue]
When I'm multiplying 6,000 with 0.02 result is 12,000 instead of 120
Any idea why and how can I correct this ?
P.S. For all controls in this calculation Field Size is "Double", Format is
"Standard" and Decimal Places "2"

Do you have any of these fields defined with a Percent format?
 
T

taco

Nope... none of them defined like that... all of them Double and Standard

John W. Vinson said:
Hi Everyone;

Thanks in advance for your time and help. I'm trying to multiply variable
numbers with 0.01 or 0.02. I've wrote following expression into the control
box where I'll have the result.
=([CrIn]+[CrOut])*[TrValue]
When I'm multiplying 6,000 with 0.02 result is 12,000 instead of 120
Any idea why and how can I correct this ?
P.S. For all controls in this calculation Field Size is "Double", Format is
"Standard" and Decimal Places "2"

Do you have any of these fields defined with a Percent format?
 
J

John W. Vinson

Nope... none of them defined like that... all of them Double and Standard

John W. Vinson said:
Hi Everyone;

Thanks in advance for your time and help. I'm trying to multiply variable
numbers with 0.01 or 0.02. I've wrote following expression into the control
box where I'll have the result.
=([CrIn]+[CrOut])*[TrValue]
When I'm multiplying 6,000 with 0.02 result is 12,000 instead of 120
Any idea why and how can I correct this ?
P.S. For all controls in this calculation Field Size is "Double", Format is
"Standard" and Decimal Places "2"

Do you have any of these fields defined with a Percent format?

Doublecheck the Format property of the *textbox* on the form. The fact that
it's multiplying by 100 really makes me think that a Percent format has snuck
in somewhere!

You may want to try deleteing the control from the form; compact the database;
and re-add the textbox. There might be some subtle corruption in the form.
 
T

taco

Thanks a lot for advice and your time. I'll try to delete and re-add the
textbox.

John W. Vinson said:
Nope... none of them defined like that... all of them Double and Standard

John W. Vinson said:
Hi Everyone;

Thanks in advance for your time and help. I'm trying to multiply variable
numbers with 0.01 or 0.02. I've wrote following expression into the control
box where I'll have the result.
=([CrIn]+[CrOut])*[TrValue]
When I'm multiplying 6,000 with 0.02 result is 12,000 instead of 120
Any idea why and how can I correct this ?
P.S. For all controls in this calculation Field Size is "Double", Format is
"Standard" and Decimal Places "2"

Do you have any of these fields defined with a Percent format?

Doublecheck the Format property of the *textbox* on the form. The fact that
it's multiplying by 100 really makes me think that a Percent format has snuck
in somewhere!

You may want to try deleteing the control from the form; compact the database;
and re-add the textbox. There might be some subtle corruption in the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top