I have a table I need to update in the following manner.
The records I am dealing with have a number in the table of which some are 5 digits & some are 6 digits. With the records that have 5 digits I need to add 3 zeros to the front of the number & the ones with 6 digits I need to add 2 zeros to the front of the number. I need to write the code in Access under the SQL view. Is there anyone out there that can help me. I have searched throughout many web site to try and find an example to follow with no luck.
[This message has been edited by RGALLEN (edited 02-26-2002).]
The records I am dealing with have a number in the table of which some are 5 digits & some are 6 digits. With the records that have 5 digits I need to add 3 zeros to the front of the number & the ones with 6 digits I need to add 2 zeros to the front of the number. I need to write the code in Access under the SQL view. Is there anyone out there that can help me. I have searched throughout many web site to try and find an example to follow with no luck.

[This message has been edited by RGALLEN (edited 02-26-2002).]