G
Guest
I want to delete the zeros in a Text field which was input with numbers
(numbers was in a Text Field, not number),
e.g. 000253878, 000253999, 000250007
there are hundreds of records, all prefixed with 000
I have read through the questions in the Office Discussion Group and found a
REPLACE function, so I have tried the REPLACE function in a Query (I am using
2003 Access):
NewFieldName: Replace(Left([TableField],3),"000","")
The first 3 zeros were deleted but if the number has a 3-digits as zeros,
then they were also deleted, e.g. 000250007 became 257 ??
Please help, can I simply just do a update or delete query, if so, how ?
thanks,
(numbers was in a Text Field, not number),
e.g. 000253878, 000253999, 000250007
there are hundreds of records, all prefixed with 000
I have read through the questions in the Office Discussion Group and found a
REPLACE function, so I have tried the REPLACE function in a Query (I am using
2003 Access):
NewFieldName: Replace(Left([TableField],3),"000","")
The first 3 zeros were deleted but if the number has a 3-digits as zeros,
then they were also deleted, e.g. 000250007 became 257 ??
Please help, can I simply just do a update or delete query, if so, how ?
thanks,