|
-
March 15th, 2001, 12:03 PM
#1
Need help with optional function parameters!
I have a function that takes a list of 4 parameters. Only 1 of these are needed and the function executes differently depending on the other 3 parameters. ie:
If parameter2<>"" then
do this
end if
if parameter3<>"" then
do this
end if
and so on...but when i call the function:
MyFunction(1,,"hello")
I get an error saying Parameter2 doesn't exist. How can i check to see if parameter2 has a value? I tried isNull and that didn't work either. Thanks for your help!
-Aaron
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|