rainman89
I cant find the any key..
- Local time
- Yesterday, 21:02
- Joined
- Feb 12, 2007
- Messages
- 3,015
OK - I've been messing around with this for a couple of hours and can't get it to work. I added Question1, Question2, and Question3 to the table and put the question in as a default value so when the form opens it looks the same to the user. I then added the yes and no check boxes, changed the name in the properties of each to chkYes and chkNo and put the StableTransfer-Yes (which is the yes no field I want filled) and made it not visable. I then put the code in for the Yes checkbox like this:
If M.chkYes = -1 Then
Me.chkNo = 0
Me.chkStableTransfer-Yes = -1
Else
Me.chkNo = -1
Me.chkStableTransfer-Yes = 0
End If
Then did the same for the No Checkbox:
If Me.chkNo = -1 Then
Me.chkYes = 0
Me.chkStableTransfter-Yes = 0
Else
Me.chkYes = -1
Me.chkStableTransfer-Yes = -1
End If
End Sub
It doesn't work - you can check both boxes without something stopping you and it doesn't register in the table. I have no idea what I'm doing wrong.It looks just like what you did and is set up the same way but no go. Did I miss something?
Laura
which event did you use?