J
Joe
I had a FORM (Job initiation) that let user to initiate a new job and will
generate a Job_No to them.
And the FORM have a button that let user to click, and then it will open
another FORM (Job Details).
They are using two separate table (Job initiation & Job Details).
Both of them had a field call [Job_No] for join.
How can I insert the new [Job_No] from [Job initiation] to [Job Details]
when the user click the button to open [Job Details] form.
and then display this Job_No at the job no. field at FORM [Job Details]?
Using variable to store the Job_No first, and then insert into [Job
Details]? or any other method?
Moreover, for generate Job_No e.g. TYYXXXX
T - Type (P for print, B for bind....)
YY- Year (2004 -> 04 only)
XXXX (auto increment no.)
So, if type=P, then Job_No= P040001,
As i don't want to duplicate the XXXX field, that means if there is P040001
exist,
the next Job_No will be either be P040002 or B040002 (whatever the type is
different).
So how can I generate this kind of Job_No?
By input Mask?
Thanks a lot !
regards,
Joe
generate a Job_No to them.
And the FORM have a button that let user to click, and then it will open
another FORM (Job Details).
They are using two separate table (Job initiation & Job Details).
Both of them had a field call [Job_No] for join.
How can I insert the new [Job_No] from [Job initiation] to [Job Details]
when the user click the button to open [Job Details] form.
and then display this Job_No at the job no. field at FORM [Job Details]?
Using variable to store the Job_No first, and then insert into [Job
Details]? or any other method?
Moreover, for generate Job_No e.g. TYYXXXX
T - Type (P for print, B for bind....)
YY- Year (2004 -> 04 only)
XXXX (auto increment no.)
So, if type=P, then Job_No= P040001,
As i don't want to duplicate the XXXX field, that means if there is P040001
exist,
the next Job_No will be either be P040002 or B040002 (whatever the type is
different).
So how can I generate this kind of Job_No?
By input Mask?
Thanks a lot !
regards,
Joe