devinh Posted July 1, 2005 Posted July 1, 2005 I need a field to Enter a # starting with 1...no big deal huh. So I have two feilds. Job_number and Change_number. Change_number is the feild that will need to change on creation of the record. It needs to look to see if there is a record or records with the same job # and add 1 from the higest Change_number of the same job #. If there is no other record with the same job # then it needs to be 1. Example =============== 1st record Job_number = 100 Change_notice = 1 2nd record Job_number = 200 Change_notice = 1 3rd record Job_number = 100 Change_notice = 2 4th record Job_number = 100 Change_notice = 3 Thanks Devin
-Queue- Posted July 1, 2005 Posted July 1, 2005 Create a relationship based on JobNumber. I'll call it PreviousJob. Sort the relationship by Change_Notice, descending. Then change Change_Notice to be an auto-entered calculation (leave 'do no replace existing value' selected) of If( not IsEmpty(JobNumber); PreviousJob::Change_Notice + 1 )
devinh Posted July 1, 2005 Author Posted July 1, 2005 Thats it....Thank you I had the relationship part done, but not the calc. Devin
Recommended Posts
This topic is 7169 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