Donkick Posted May 6, 2006 Posted May 6, 2006 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?
Genx Posted May 7, 2006 Posted May 7, 2006 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
Genx Posted May 7, 2006 Posted May 7, 2006 You might also opt to use the choose function instead of substitute.
Donkick Posted May 7, 2006 Author Posted May 7, 2006 I think this is exactly what I was looking for! I am still trying to figure it out, but thanks a ton!!!!
Donkick Posted May 9, 2006 Author Posted May 9, 2006 Genx, I have used your example file to implement this into my system and it is working beautifully! Thanks for the great file!
Recommended Posts
This topic is 6836 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 accountSign in
Already have an account? Sign in here.
Sign In Now