Can anyone help,

I have set up a command object in a data environment with three parameters, I have made two parameters required and the other optional but when I call the command object with only the two required parameters I get and error message Argument is not optional.

Please Help,

Chris