I have code that is connecting to a database and loading a recordset. The recordset is loaded depending on the button that is clicked. So I say
<%
if document.form.value="Add" then
load recordet(add)
else
load recordet(edit)
end if
%>

I keep getting an error that says that document property can not be found. Is there anyway to reference the button??