View Single Post
  #3  
Old March 13th, 2007, 10:50 PM posted to microsoft.public.access.forms
crtopher
external usenet poster
 
Posts: 42
Default Column Property of Combo Box

Thanks for your response. I did try what you suggested and changed the field
type where the value is stored, without success. Anyway the problem seems to
happen before that...ie it is occurring on the form in the textxtbox that is
taking its value form the combo box column...i have set that format to
number, with two decimals, but still have the problem.

What do you think?

Cheers
Chris

"Ofer Cohen" wrote:

Check the field that you store the value in, if it's Long or integer the
value will round when it stored.

If that the case, change the field type to double or single.

--
Good Luck
BS"D


"crtopher" wrote:

I am using the column property of a combo box, as in:

Me!txtYourDescriptionTextBox = Me!cboYourComboBox.Column(1)

to populate a series of text boxes with the other columns of the row source
of the combo box, then storing the data in another table. On of the columns
contains numbers (which are currency but don't have to be recorded as such)
that have 2 decimal places. Despite setting all the appropriate field formats
to Fixed and 2 decimals, the text box returns the value rounded up.

eg 28.27 returns as 28.00, 34.90 returns as 35.00

Can anyone help me with this. it would be most appreciated

Chris