View Single Post
  #1  
Old May 20th, 2010, 04:05 PM posted to microsoft.public.access.forms
Mark
external usenet poster
 
Posts: 1,534
Default ComboBox formatting

Hi All,

In a query I formated a field to allow the sorting to come out in sequence.
x = 4
Number: format(x,"000000")

I have combo box based on this query and I would like to be able to type in
4 without the leading zero's. However it errors when doing so. I have tried
to use: cbConAudit_id = Format(cbConAudit_id, "000000") on after update, on
dirty, on change, but nothing is working. I've also used the format in the
properties using 000000, but still errors.

Is there a way to keep from adding the leading zeros?