S
Sash
Is there an easy way to check that data has been completed on continuous
form? I have the following code, but it's only looking at the first record.
'Check field RTI_Status for data. If there is no data, make field RED
Dim StNoClose As String
If IsNull(Me!frmDailyData!rti_status) Then
MsgBox "Missing Status for Records"
Me!frmDailyData!rti_status.BackColor = vbRed
StNoClose = "X"
End If
'If something is missing cancel the click
If StNoClose = "X" Then
Cancel = True
Else
********
Do a buncho of other stuff
********
form? I have the following code, but it's only looking at the first record.
'Check field RTI_Status for data. If there is no data, make field RED
Dim StNoClose As String
If IsNull(Me!frmDailyData!rti_status) Then
MsgBox "Missing Status for Records"
Me!frmDailyData!rti_status.BackColor = vbRed
StNoClose = "X"
End If
'If something is missing cancel the click
If StNoClose = "X" Then
Cancel = True
Else
********
Do a buncho of other stuff
********