|
-
Mar 31st, 2004, 05:30 PM
#1
Thread Starter
Addicted Member
Button value on form
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??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|