Number problems

Xenix

Registered User.
Local time
Today, 22:57
Joined
Oct 8, 2001
Messages
124
I have a problem, I want to click a button and the form to write to another form to select currency. but I keep getting the error: "The value you entered isn't valid for this field" I have the code:

Forms!Quotation!quotecurrency = Me.GBP

and both the fields are the same type:
Single 0.000#.##


thank you in advance

Mike
 
Are you sure that they are the same data type? I've been caught out several times with this and found that I've had a text and a number field. So obvious that you become blind to it.
 
Yes thank you,

I have checked it several times but it seem to be just number Single formatted to 3 decimals
 
Try
Forms!Quotation!quotecurrency = Format(Me.GBP ,"0.000#.##")
 
Thank you Rich,

problem now is "Object doesn't support this property or method" ??

I have no idea
frown.gif
 
Is the £ sign being inserted into your number field? (or is it attempting to).
 

Users who are viewing this thread

Back
Top Bottom