Donkick Posted May 6, 2006 Share 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? Link to comment Share on other sites More sharing options...
Genx Posted May 7, 2006 Share 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 Link to comment Share on other sites More sharing options...
Genx Posted May 7, 2006 Share Posted May 7, 2006 You might also opt to use the choose function instead of substitute. Link to comment Share on other sites More sharing options...
Donkick Posted May 7, 2006 Author Share 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!!!! Link to comment Share on other sites More sharing options...
Donkick Posted May 9, 2006 Author Share 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! Link to comment Share on other sites More sharing options...
Genx Posted May 9, 2006 Share Posted May 9, 2006 Pleasure : Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now