S
Sandy
I am getting an Error as follows:
Run-Time error '2001':
You canceled the previous operation.
I have the following Event on AfterUpdate on the JobType field:
Private Sub JobType_AfterUpdate()
[JobNum]=DLookup("masof JobNum","Q_JobNumMax","JobType= " & [JobType]
End Sub
There are several types of job types
Each Job type has a range of numbers that can be assigned to that job.
ex TN - 10,000 to 19,999
TE - 20,000 to 29,999
etc
So when I create a new job and select TN as the job type, once that
selection has been made, I would like to get the MaxofJob Num for TN jobs
from the query, add 1 to it, and make that the next job number.
Thanks for your help!
sandra
Run-Time error '2001':
You canceled the previous operation.
I have the following Event on AfterUpdate on the JobType field:
Private Sub JobType_AfterUpdate()
[JobNum]=DLookup("masof JobNum","Q_JobNumMax","JobType= " & [JobType]
End Sub
There are several types of job types
Each Job type has a range of numbers that can be assigned to that job.
ex TN - 10,000 to 19,999
TE - 20,000 to 29,999
etc
So when I create a new job and select TN as the job type, once that
selection has been made, I would like to get the MaxofJob Num for TN jobs
from the query, add 1 to it, and make that the next job number.
Thanks for your help!
sandra