S
Sibes
When "yes" is selected the right subform opens. When "No" is selected I need
it to place the value of "0" in check box field then move to another field
in the main form.
is there any possible way to do this? Below is a copy of the code that i
have so far. "yes" works, "No" doesnt work.
'this will let the user add family information, if no information will set
the family info to NO
Dim intResponse As Integer
intResponse = MsgBox("Do you have any family information ", vbYesNo,
"East Kootenay Realty and Insurance")
If intResponse = 6 Then
'code to execute if Yesv
intResponse = Forms![AddNew]![Family].SetFocus
Else
'code to execute if No
intResponse = Forms!AddNew
'intAnswer = 0
End If
thanks
it to place the value of "0" in check box field then move to another field
in the main form.
is there any possible way to do this? Below is a copy of the code that i
have so far. "yes" works, "No" doesnt work.
'this will let the user add family information, if no information will set
the family info to NO
Dim intResponse As Integer
intResponse = MsgBox("Do you have any family information ", vbYesNo,
"East Kootenay Realty and Insurance")
If intResponse = 6 Then
'code to execute if Yesv
intResponse = Forms![AddNew]![Family].SetFocus
Else
'code to execute if No
intResponse = Forms!AddNew
'intAnswer = 0
End If
thanks