Hi All
Managed to establish the code with a little help from MajP, but come to grinding halt!
I have the below code which checks that a value in subform has been completed in each of the filtered records, but at present it only checks the field "boxqty", i would like it to also check "boxweight" and "Shipmentqty" under the same conditions, but have no idea how to proceed...
Dim rs As DAO.Recordset
Dim intCount As Integer
Set rs = Forms!Logistics!LogisticsDetail.Form.RecordsetClone
Do While Not rs.EOF
If Trim(rs.Fields("boxqty") & " ") = "" Then
intCount = intCount + 1
End If
rs.MoveNext
Loop
If intCount > 0 Then
MsgBox "You must fill in values for remaining " & intCount & " box quantities"
Anyone have any ideas to help me get started!
Cheers
Ali
Managed to establish the code with a little help from MajP, but come to grinding halt!
I have the below code which checks that a value in subform has been completed in each of the filtered records, but at present it only checks the field "boxqty", i would like it to also check "boxweight" and "Shipmentqty" under the same conditions, but have no idea how to proceed...
Dim rs As DAO.Recordset
Dim intCount As Integer
Set rs = Forms!Logistics!LogisticsDetail.Form.RecordsetClone
Do While Not rs.EOF
If Trim(rs.Fields("boxqty") & " ") = "" Then
intCount = intCount + 1
End If
rs.MoveNext
Loop
If intCount > 0 Then
MsgBox "You must fill in values for remaining " & intCount & " box quantities"
Anyone have any ideas to help me get started!
Cheers
Ali