A
al416 via AccessMonster.com
I have a form with a subform. The user is suppose to complete a response for
all of the Result fields in the subform. Each subform will hav a variable
number of Result records. I want to test for the existence of a result and,
if null, prompt the user to go back and complete the form. the code below is
close, but not quite there.
Any help?
Thanks
'Test for values in all Result field on open subform
'For N = 1 to MaxQuestionNumber
'CurrentResult = ("[Result]", "tblAuditQuestionResults", "[QuestionNumber] =
N")
' If IsNull CurrentResult Then
' MsgBox "All audit questions require a result/response"
' Exit Sub
' End If
all of the Result fields in the subform. Each subform will hav a variable
number of Result records. I want to test for the existence of a result and,
if null, prompt the user to go back and complete the form. the code below is
close, but not quite there.
Any help?
Thanks
'Test for values in all Result field on open subform
'For N = 1 to MaxQuestionNumber
'CurrentResult = ("[Result]", "tblAuditQuestionResults", "[QuestionNumber] =
N")
' If IsNull CurrentResult Then
' MsgBox "All audit questions require a result/response"
' Exit Sub
' End If