It seems that there may be a problem regarding the value that is referenced for the id. Does your second form have this element in it that holds the id of the record to be updated? It may be easier to debug the page by looking at the code on it. Please post back and include a copy of the page in a zip archive so we can take a look.