L
learning_codes
Hi,
I'm getting frustrated. I did ok but trying to alert either way if
the records are completed then go to the report areas but if the
records are not completed and advise that there are outstanding
records that need to be done before going to reports.
If you have a better suggestion or easy way to do this, I would
appreciate your help. I'm still learning.
***************************
Dim....
strDocName = " go to form "
strDocName2 = " Report Ment
If ([Notification] = "NO") Then
MsgBox " You did not complete the questions "
strLastname ="= ' " & Me.LastName & " ' "
strCriteria =" [tbl_Players] " & strLastname
DoCmd.OpenForm stDocName, , , strCriteria
Exit Sub
End if
If ([Notification] = "YES") Then
MsgBox " Thank you for completing the questions"
strLastname ="= ' " & Me.LastName & " ' "
strCriteria =" [tbl_Players] " & strLastname
DoCmd.Openform stDocName2, , , strCriteria
Exit Sub
End if
*************************************************
I'm getting frustrated. I did ok but trying to alert either way if
the records are completed then go to the report areas but if the
records are not completed and advise that there are outstanding
records that need to be done before going to reports.
If you have a better suggestion or easy way to do this, I would
appreciate your help. I'm still learning.
***************************
Dim....
strDocName = " go to form "
strDocName2 = " Report Ment
If ([Notification] = "NO") Then
MsgBox " You did not complete the questions "
strLastname ="= ' " & Me.LastName & " ' "
strCriteria =" [tbl_Players] " & strLastname
DoCmd.OpenForm stDocName, , , strCriteria
Exit Sub
End if
If ([Notification] = "YES") Then
MsgBox " Thank you for completing the questions"
strLastname ="= ' " & Me.LastName & " ' "
strCriteria =" [tbl_Players] " & strLastname
DoCmd.Openform stDocName2, , , strCriteria
Exit Sub
End if
*************************************************