Gleaning ideas from each post and link you all have posted throughout my strife, I have finally achieved my goal. Will mark as solved and for anyone curious here is the solution I have.
Code:
Option Compare Database
Option Explicit
Public gbl_cancel As Boolean
I put this in my BeforeUpdate:
Code:
Sub Form_BeforeUpdate(Cancel As Integer)
Dim ctl As Control
' **check for missing detail**
For Each ctl In Me.Section("Detail").Controls
Select Case ctl.Tag
Case "Required;Check"
If Len(Trim(ctl.Value & "")) = 0 Then
ctl.BackColor = &HD0D0FF
gbl_cancel = True
Else
gbl_cancel = False
End If
End Select
Next ctl
End Sub
And this behind my submit button:
Code:
Sub cmdenter_Click()
Dim ctl As Control
Dim tb As Object
Dim DkS as Integer
Set tb = CurrentDb.OpenRecordset("tbl_Main")
Call Form_BeforeUpdate(0)
If gbl_cancel = False Then
' ...code to add new records to table...
ElseIf gbl_cancel = True Then
Exit Sub
End If
' ...
End Sub
Again thanks to all, very helpful!