C
Crumfert
In my main form, I have a field that references the Subform. In the control
source of the field in the Main Form I have:
=DMax("[RevNum]","REVS","[DrawingNumber] =
[DrawingDataSheet]![DrawingNumber] ")
This works for displaying the Max RevNum in the field ... but when there are
no records in the SubForm, I get the #ERROR. I would like it to display the
default of "0".
It appears that I will need to use the IIF with the Nz functions ... but I
am not that familiar with access and do not know exactly how to implement
them ...
source of the field in the Main Form I have:
=DMax("[RevNum]","REVS","[DrawingNumber] =
[DrawingDataSheet]![DrawingNumber] ")
This works for displaying the Max RevNum in the field ... but when there are
no records in the SubForm, I get the #ERROR. I would like it to display the
default of "0".
It appears that I will need to use the IIF with the Nz functions ... but I
am not that familiar with access and do not know exactly how to implement
them ...