|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Updating |
From: |
Jack Michaelson |
Date: |
12/13/1999 9:06:22 AM |
IP: |
194.109.156.172 |
Im working on an Intranet and Ive got the following problem:
I want to create a page where users can update databasefields.
First I retrieve the selected record and place it into <input type> in an HTML-table. Thats no problem at all.
But..
If a users changes the value of an <input type> and presses the Update-button, I want the dbfield to be changed. This is the point where I got the troubles.
I tried the following:
<form action="thispage.asp">
...
<td>
<input type="text" name="idno" value="<%=rs.fields("id")%>">
</td>
...
---here comes the trouble part---
if Len(request.form("idno")<>0 then
rs.fields("id")=request.form("idno")
rs.update
</form>
This is not working..
Who tells me what Im doing wrong??
Thanx in advanx,
Jack Michaelson
|
|
|
|
|
|
|
|
|
|
|
|
|