> where reader_id='#form.reader_id#' > This returns an oracle error code of 1722 - invalid number. Try removing the quotes: where reader_id=#form.reader_id# Regards, Matthew Walker Canterbury Development Corporation Christchurch, New Zealand Tel +64-3-379 5575