they are foreign keys being inserted into the table, but instead of eror trapping can't I do it though if, then statements ?
IF I do this :
If IsNull(Len(cmbitem)) = True Then
MsgBox "Please select an item"
If IsNull(Len(cmbgeneraldesc)) = True Then
MsgBox "Please select a general description"
If IsNull(Len(cmbstatus)) = True Then
MsgBox "Please select a status"
If IsNull(Len(cmbage)) = True Then
MsgBox "Please select an Age Range"
If IsNull(Len(cmbdestschool)) = True Then
MsgBox "Please select a destination school"
Else
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord , , acNewRec
End If
End If
End If
End If
End If
it displays the messages if all are blank, but if I fill in one of two of the combos then nothing happens ?