S
Stephanie
Hi. I can't figure out why a couple portions of my (not
so great) code won't kick off (see snippet below). I put
breaks in my code (thanks to an earlier post reply!). I
think maybe I need a lesson in "0" vs. "null" as well.
Currently I have:
Me!Option1 = -1
Me!Option2 = 0
Me!MemberStatusName = 0
Me!MemberTypeName = 0
Me!StateOrProvinceName = Null
These 2 sections of code won't kick off but I think they
should based on my current values. Any suggestions? (I'm
trying to get ready to use some streamlined code
suggested by Allen Browne but I need to make sure I can
kick it off correctly). Thanks, Stephanie
#1
....
If (Not IsNull(Option1) Or Not IsNull(Option2)) Then
If IsNull(Me!MemberStatusName) Or IsNull(Me!
MemberTypeName) Then
....
#2
....
If Not IsNull(Option1) Or Not IsNull(Option2) Then
If IsNull(Me!StateOrProvinceName) Then
....
so great) code won't kick off (see snippet below). I put
breaks in my code (thanks to an earlier post reply!). I
think maybe I need a lesson in "0" vs. "null" as well.
Currently I have:
Me!Option1 = -1
Me!Option2 = 0
Me!MemberStatusName = 0
Me!MemberTypeName = 0
Me!StateOrProvinceName = Null
These 2 sections of code won't kick off but I think they
should based on my current values. Any suggestions? (I'm
trying to get ready to use some streamlined code
suggested by Allen Browne but I need to make sure I can
kick it off correctly). Thanks, Stephanie
#1
....
If (Not IsNull(Option1) Or Not IsNull(Option2)) Then
If IsNull(Me!MemberStatusName) Or IsNull(Me!
MemberTypeName) Then
....
#2
....
If Not IsNull(Option1) Or Not IsNull(Option2) Then
If IsNull(Me!StateOrProvinceName) Then
....