Hi All
I have a field in my table containing numbers ranging from 00000001 to 00039999, the zeros are there because my numbers could go to 99999999.
I set the format of the Field to Number with the format as 00000000 to allow zeros to be displayed, as when I import the numbers, access was removing the zeros, however, when I search or print report containing the numbers, the zeros are missing and is causing problems when searching in a form. If I search for 00001245 I get no info back, whereas if I search for 1245 I get the details I want. I noticed however, that If I format the field to text, it keeps the zeros when importing new data and all works well.
The problem I have is how to copy the data into another field without losing the zeros but adopting the new Text format? I tried just changing the format of the field which was fine but it removed all the zeros. I have sorted out the format on the spreadsheets I was importing from so not doing it now, but I have 25000 entries I need to change.
Hope you guys understand what I mean.
Thanks in advance for any help.
PS, non sql solutions please as i'm a newbie ish...
I have a field in my table containing numbers ranging from 00000001 to 00039999, the zeros are there because my numbers could go to 99999999.
I set the format of the Field to Number with the format as 00000000 to allow zeros to be displayed, as when I import the numbers, access was removing the zeros, however, when I search or print report containing the numbers, the zeros are missing and is causing problems when searching in a form. If I search for 00001245 I get no info back, whereas if I search for 1245 I get the details I want. I noticed however, that If I format the field to text, it keeps the zeros when importing new data and all works well.
The problem I have is how to copy the data into another field without losing the zeros but adopting the new Text format? I tried just changing the format of the field which was fine but it removed all the zeros. I have sorted out the format on the spreadsheets I was importing from so not doing it now, but I have 25000 entries I need to change.
Hope you guys understand what I mean.
Thanks in advance for any help.
PS, non sql solutions please as i'm a newbie ish...