checkboxes

checkbox
 
Here's a very quick example of an unbound checkbox
 
Last edited:
hey

yeh, very very sorry, i made a typo, i meant to say checkboxes...

with reference to your code Rich

If Nz(Me.Check0) Then
MsgBox "Test1"
Else
MsgBox "Test2"
End If
End Sub


what is Nz referring to? is this a VB thing?

Bella
 
Null to Zero, if the checkbox has never been selected Access will generate an Invalid Use Of Null error, better safe than sorry
 
This is my code
which still doesnt work :(:(:(

If Nz(Me.chkOldLP) Then
rstLP!LP1_ID = 1
rstLP!LP2_ID = 2
rstLP!LP3_ID = 3
rstLP!LP4_ID = 4

Else: blah

?
 

Users who are viewing this thread

Back
Top Bottom