Hi, the problem i have is i have a main form "contract" with a subform "jobs" i have an append query to add the job details from a quote to contracts which works fine but i cant get it to run the following vb
Me.job_number = DMax("[job_number]", "jobs") + 1
it works fine if i add the data direct to the jobs forms but i am unsure where to put the above command, i have tried afterupdate and afterinsert but no success, basically after i have appended the job or while im appending i want it to add the next job number.
hope this makes sense
w0od0o
Me.job_number = DMax("[job_number]", "jobs") + 1
it works fine if i add the data direct to the jobs forms but i am unsure where to put the above command, i have tried afterupdate and afterinsert but no success, basically after i have appended the job or while im appending i want it to add the next job number.
hope this makes sense
w0od0o