lookforsmt
Registered User.
- Local time
- Tomorrow, 01:53
- Joined
- Dec 26, 2011
- Messages
- 672
Hi! all
I have searched in almost all the forums and unable to find anything close to my requirement.
i have a table with below field:
I want to get the final result as:
Background:
- i receive a list of data approx 500 to 600 rows daily, which i need to tag a code (AA-000001-0001) to each of the rows.
- It should generate only that many codes for which data is received daily.
- The sequence number should lookup in the table where the generated codes will be saved and start from the next sequence nos to the end of the row and save the new codes and so on.
Currently I do this in excel by dragging the Alpha Numbers in columns and then importing it into access. But this is manual work and tedious which i want to avoid.
Is there a way that i can do this automatically in access.
Any suggestions how should i approach this in access pls.
I have searched in almost all the forums and unable to find anything close to my requirement.
i have a table with below field:
Field Name Data Type Field Size Sample
------------ ------------ ----------- --------
SrNoID AutoNumber
Prefix Text 2 digit AA
Seq Text 6 digit 000001
Suffix Text 4 digit 0001
I want to get the final result as:
AA-000001-0001
AA-000001-0002
AA-000001-9999
AA-000002-0001
AA-999999-9999
ZZ-999999-9999
Background:
- i receive a list of data approx 500 to 600 rows daily, which i need to tag a code (AA-000001-0001) to each of the rows.
- It should generate only that many codes for which data is received daily.
- The sequence number should lookup in the table where the generated codes will be saved and start from the next sequence nos to the end of the row and save the new codes and so on.
Currently I do this in excel by dragging the Alpha Numbers in columns and then importing it into access. But this is manual work and tedious which i want to avoid.
Is there a way that i can do this automatically in access.
Any suggestions how should i approach this in access pls.