Decimal VB help

soapy

Registered User.
Local time
Tomorrow, 06:01
Joined
Oct 12, 2004
Messages
10
G'day All

Having trouble. I have a text box with a default value of 13.00. I have two command buttons (+ / -) and I can easily vary the value of 13 +/- 1 using VB[Dep Dft] = [Dep Dft] + 1.

The problem I have is trying to make the value increment by 0.1. The text box setting I have set is Fixed format , 2 decimal places.

I am probably staring at it!!!
 
soapy,

Don't post in multi-forums please.

We confuse easily.

Wayne
 
Oops Knowledge much greater tx
 
Soapy, is it not just a matter of...

[Dep Dft] = [Dep Dft] + 0.1 ?

Yes, the format will come out, 5.10, is that the problem?

Can you not change the format, to "0.0"?

Sorry Soapy, can you specify exactly, where the problem lies, pls!
 
Tx
I sorted the problem and was using the right answer everytime but I think the problem lay in the field settings (Single format etc)

Thanks
 

Users who are viewing this thread

Back
Top Bottom