D
digihoo
Hi,
In the Item_Write function of a custom form, I have two nested If
statements. in the inner If statement is an "Exit Function" statement
that the form seems to be ignoring (?)
eg,
If (something) Then
---code
---code
If (something else) Then
---code
---Exit Function
End If
End If
Somehow, even though I am sure it is meeting the second If statement
(it is executing the first line of the second If statement), it is
ignoring the Exit Function command and executing the rest of the code.
Any help would be appreciated. Thanks.
In the Item_Write function of a custom form, I have two nested If
statements. in the inner If statement is an "Exit Function" statement
that the form seems to be ignoring (?)
eg,
If (something) Then
---code
---code
If (something else) Then
---code
---Exit Function
End If
End If
Somehow, even though I am sure it is meeting the second If statement
(it is executing the first line of the second If statement), it is
ignoring the Exit Function command and executing the rest of the code.
Any help would be appreciated. Thanks.