I decided now that I've got that working to add a download count to another page where we offer downloadable documents. This one just used an ordinary recordset. Tried using the ID from the recordset which didn't work, so then added a hidden field to the form with the ID number, then added the the details to the download behavior by specifying the key column value as the POST value. However it's not recording a count in the database. Can you see what might be wrong? I've attached the page.