This probably won't work, but you could try changing:
SELECT ... UP TO 1 ROWS
to
SELECT SINGLE
(of course, you have to get rid of the ENDSELECT).
Rob
This probably won't work, but you could try changing:
SELECT ... UP TO 1 ROWS
to
SELECT SINGLE
(of course, you have to get rid of the ENDSELECT).
Rob