I am having great difficulty in figuring out how to code this properly. basically, what I want to do is at the final stage of receiving a purchase order, the final country of origin needs to be completed (field named [COO]). FYI, we might not know what country the products are coming from at the time of initial issue of said purchase order. My latest variation of code is:
Dim tmprs As Variant
Set tmprs = [PO_Detail subform].Form.Recordset
If Not tmprs.BOF Then
tmprs.MoveFirst
End If
If IsNull(Me.PO_Detail_subform![COO]) Then
With Me.PO_Detail_subform.Form.Recordset
Do While Not .EOF
MsgBox ("COO")
.MoveNext
Loop
End With
End If
Any suggestions would be greatly appreciated.
Thanks,
Robert