mbentley
Registered User.
- Local time
- Today, 13:04
- Joined
- Feb 1, 2002
- Messages
- 138
I have created a function that takes the City, Province, and Postal Code fields and creates one address based on the entries. Works OK, except I get "#Error" returned in my forms or queries if there is a null value in any one of the arguments. I've accounted for nulls in my code, and it works fine if I use Nz in the formulas that call the function. By stepping through the code, I've figured out that it does not even run if a null vaue is passed to one of the arguments. I don't want to have to remember to use Nz for all the arguments I pass, so I'm wondering if there's a trick to getting it to allow null arguments.