hi everyone,
i have one problem,can you help me out,i can't find from the tutorial
site....
<%
If request.form="" Then
rs.movefirst
Else
rs.Find "numid=" & Request("leaveid")
If request.form("combutton") = "NEXT" Then
If Not rs.EOF Then
rs.MoveNext
If rs.EOF Then
rs.MoveLast
End If
End If
ElseIf Request.Form("combutton") = "PREV" Then
If Not rs.BOF Then
rs.MovePrevious
If rs.BOF Then
rs.MoveFirst
End If
End If
ElseIf Request.Form("combutton") = "APPROVE" Then
rs.fields("deductedannual")=request.form("DeductedAnnual")
End If
End If
<body>
<!--
function checkstuff(){
if (document.leave.ExistAnnual.value == 0) {
document.leave.DeductedAnnual.value = 10;
}
}
//-->
</script>
<input type="text" name="leaveid" value="<% =rs("numid").value %>">
<input type="text" name="DeductedAnnual">
<td><input type="submit" name="combutton" value="APPROVE"></td>
<td><input type="button" name="combutton" value="ENTER"
onfiltered="checkstuff();" ></td>
my problem is when click on Approve button,rs.fields
("deductedannual") cannot save any value...even like just simply
assign rs.fields("deductedannual")=5 also cannot,can you tell me why?
it still need to depend on 'leaveid' to store deductedannual value...
please help...thanks...
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/