Hey Ales,
thanks for the reply, would I use the decode statement to test for the parameter, if not could you give me an example.

Thanks
Ulysses