Thanks dmizer,

The solutions you gave for problems #2 and #3 worked for me

Cheers!