G
Guest
I've created an option group with 2 options: Cash and Cheque. I have an
update query such that when Cash is checked, it would update the field called
strPayMode to Cash. However, I couldn't get the option group to display the
options correctly for existing records. How do I get the option group to show
Cash (option 1) as checked when the strPayMode field says Cash? I tried
something like this in the Form Current property but it didn't work:
If strPayMode = "Cash" Then
opgPayMode = 1
ElseIf strPayMode = "Cheque" Then
opgPayMode = 2
End If
Am I doing this correctly? Thanks.
ck
update query such that when Cash is checked, it would update the field called
strPayMode to Cash. However, I couldn't get the option group to display the
options correctly for existing records. How do I get the option group to show
Cash (option 1) as checked when the strPayMode field says Cash? I tried
something like this in the Form Current property but it didn't work:
If strPayMode = "Cash" Then
opgPayMode = 1
ElseIf strPayMode = "Cheque" Then
opgPayMode = 2
End If
Am I doing this correctly? Thanks.
ck