Hi,
I have a procedure that contains Optional arguments. In the procedure I use IsMissing to determine whether an argument has been passed and carry out some extra code if it has been.
Unfortunately, IsMissing doesn't seem to be working properly, or I'm using it incorrectly.
To double check, I dimmed a boolean "test", set it to the value of IsMissing(param_name) and set a breakpoint. I then called the procedure omitting param_name as an argument. I then checked the value of test but it remained false.
Hopefully I'm calling it wrong but I can't work out how. Perhaps someone can help?
I call it using
Private Sub ArrangeBy_Check_AfterUpdate()
Call After_Update_Checkboxes([ArrangeBy Check], [Arranged By])
End Sub
Can anyone see anything wrong?
Cheers,
Pete
I have a procedure that contains Optional arguments. In the procedure I use IsMissing to determine whether an argument has been passed and carry out some extra code if it has been.
Unfortunately, IsMissing doesn't seem to be working properly, or I'm using it incorrectly.
To double check, I dimmed a boolean "test", set it to the value of IsMissing(param_name) and set a breakpoint. I then called the procedure omitting param_name as an argument. I then checked the value of test but it remained false.
Hopefully I'm calling it wrong but I can't work out how. Perhaps someone can help?
I call it using
Private Sub ArrangeBy_Check_AfterUpdate()
Call After_Update_Checkboxes([ArrangeBy Check], [Arranged By])
End Sub
Can anyone see anything wrong?
Cheers,
Pete