B
Bobbye R
I have a job form with a subform that numbers the reports submitted for each
job. I set my default for reportNumber as follows:
=DMax("[ReportNumber]+1 ","tblPWreportLog","[jobnumber] =
Forms!frmJobs![JOBNO] ")
When I initially open my form the first job looks something like this:
reportnumber date title
1 03/5/08 3
2 03/20/08 3
#Error
If I move to another record and come back to the first record the error has
changed to a 3 which is what I want. I just don't know how to make the 3
appear when I open the form.
The second thing that happens is when I add a new job on the main form. I
don't know how to force the first report number to equal 1 (which I thought
was my default) I get #Error.
job. I set my default for reportNumber as follows:
=DMax("[ReportNumber]+1 ","tblPWreportLog","[jobnumber] =
Forms!frmJobs![JOBNO] ")
When I initially open my form the first job looks something like this:
reportnumber date title
1 03/5/08 3
2 03/20/08 3
#Error
If I move to another record and come back to the first record the error has
changed to a 3 which is what I want. I just don't know how to make the 3
appear when I open the form.
The second thing that happens is when I add a new job on the main form. I
don't know how to force the first report number to equal 1 (which I thought
was my default) I get #Error.