G
Glen
I have a field in a table that is a part number (PN). This table has
80000 records. I need to search the field for several different items
and format the entries accordingly. For example:
1) check if the PN is numeric
2) if it is numeric, check if there are nine numbers
3) if there are 9 numbers, insert a dash after the second and fifth
numbers
4) if there aren't 9 numbers, input leading zeroes and then insert the
dashes
I could do this without a problem in Excel but I can't seem to access
the field value I want in Access. I need to know how to get the
tables' PN value for each record into a For loop or a Do/While loop so
I can step through the recordset and check each value. Any help is
greatly appreciated.
80000 records. I need to search the field for several different items
and format the entries accordingly. For example:
1) check if the PN is numeric
2) if it is numeric, check if there are nine numbers
3) if there are 9 numbers, insert a dash after the second and fifth
numbers
4) if there aren't 9 numbers, input leading zeroes and then insert the
dashes
I could do this without a problem in Excel but I can't seem to access
the field value I want in Access. I need to know how to get the
tables' PN value for each record into a For loop or a Do/While loop so
I can step through the recordset and check each value. Any help is
greatly appreciated.