[thelist] [ASP] Need some help saving a record

Michael Galvin mpgalvin at eircom.net
Sun Nov 5 18:02:55 CST 2000


Yep.  I'm showing all the skill descriptions for the chosen category, and
allowing them to update whichever ones they want.  I then want to save all
the changes.

Michael
----- Original Message -----
From: Warden, Matt <mwarden at odyssey-design.com>
To: <thelist at lists.evolt.org>
Sent: Sunday, November 05, 2000 10:32 PM
Subject: Re: [thelist] [ASP] Need some help saving a record


| > So in the form, I'm looping thru the database (with a filter), and
putting
| > up a text box.  To make this work, I had to give each textbox a unique
name,
| > so I appended the skill code to it.
| >
| > Now, I have "skilldesc1", "skilldesc18", "skilldesc19", etc being passed
| > from the form, and I haven't got a clue how to save them to the
database.
| > Ideally, I'd be able to 'strip' the skillcode part, find that code in
the
| > database, and update the description with whatever the user has typed
into
| > that particular text box.
| >
| > Of course, there may be (and probably is) a better way of doing all
this,
| > and I need some pointers.
|
| I'm pretty sure there is. I'm not sure why you are changing the name of
the
| form field. Why not:
|
| <input type="skillcode" value="<%Response.Write skillcodefromDB%>">
| <input type="text" name="skilldesc" value="<%Response.Write
| skilldescfromDB%>">
|
| Or, are you allowing the user to update multiple descriptions at one time?
|
| --
| mattwarden
| mattwarden.com
|
|
| ---------------------------------------
| For unsubscribe and other options, including
| the Tip Harvester and archive of TheList go to:
| http://lists.evolt.org Workers of the Web, evolt !
|





More information about the thelist mailing list