S
Stephanie
Hello! I know this should be easy, but I've gone through many iterations.
I'm trying to say that if ArtistDonor is Artist (=1), then enable
Commissions and default Commissions to "yes".
Private Sub Form_Current()
Me.Commission.Enabled = (Me.ArtistDonor = 1)
Me.Commission.DefaultValue = "yes"
End Sub
I keep getting an invalid use of Null which happens with a new record-
Commissions gets enabled and defaulted to yes even though Artist hasn't been
selected. In this case: Me.Commision.Enable is true and Me.ArtistDonor =
Null.
I tried versions of If statements, but seem to get it all backwards and
would appreciate some help. Thanks!
I'm trying to say that if ArtistDonor is Artist (=1), then enable
Commissions and default Commissions to "yes".
Private Sub Form_Current()
Me.Commission.Enabled = (Me.ArtistDonor = 1)
Me.Commission.DefaultValue = "yes"
End Sub
I keep getting an invalid use of Null which happens with a new record-
Commissions gets enabled and defaulted to yes even though Artist hasn't been
selected. In this case: Me.Commision.Enable is true and Me.ArtistDonor =
Null.
I tried versions of If statements, but seem to get it all backwards and
would appreciate some help. Thanks!