Jump to content

Related Serial Numbers


This topic is 6554 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a solution that numbers the records in the invoice table with a serial number.

Example Invoice numbers 1224, 1225, 1226....

I also have a related workorder table I would like those records to be numberd with the invoice it is related to plus a letter.

Example Workorder numbers 1224-A, 1224-B, 1225-A, 1226-A, 1226B, 1226C...

Any ideas of how I can acomplish this?

Link to comment
Share on other sites

Try the attached file on for size. The one issue was that i couldn't find a character code function so i just used substitute instead.

It utilizes the max() function, check it out, if you have trouble pulling it apart, yell.

~Genx

test.zip

Link to comment
Share on other sites

This topic is 6554 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.