I have a problem downloading a specific field with leading zeros to an Access table.
Is there a way to add adjust the view in the query to show the leading zeros? I'm banging my head against the wall trying figure this out.
The source has the field set to Numeric and it can not be changed. The source retains the leading zeros.
However when viewed or downloaded in Access, it removes the leading zeros. This is the case even when I changed to field in Access to Text.
Barring any easy way of fixing the download, is there code out there to add the zeros via string experience. I suppose I can whip up something where I count the number of characters and then add the appropriate number of zeros to beginning of the field.
(Of course, to make it even more fun, it is suppose to be 8 characters and the actual length can vary from 5 to 8 depending on the number of zeros suppose to be there.)
Thanks!
Is there a way to add adjust the view in the query to show the leading zeros? I'm banging my head against the wall trying figure this out.
The source has the field set to Numeric and it can not be changed. The source retains the leading zeros.
However when viewed or downloaded in Access, it removes the leading zeros. This is the case even when I changed to field in Access to Text.
Barring any easy way of fixing the download, is there code out there to add the zeros via string experience. I suppose I can whip up something where I count the number of characters and then add the appropriate number of zeros to beginning of the field.
(Of course, to make it even more fun, it is suppose to be 8 characters and the actual length can vary from 5 to 8 depending on the number of zeros suppose to be there.)
Thanks!