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

Warden, Matt mwarden at odyssey-design.com
Sun Nov 5 18:13:52 CST 2000


Well, I don't know if I have the best solution for this, but I basically did
what you started to do, but I had another hidden field named (tailored for
your case): skilldescfieldnames, which held a comma-delimited list of the
field names on the page. So, in your loop, you'd do something like:

<%
loop
...
sDescFieldName = "skilldesc" & rs("skillcode")

if not sAllDescFieldNames="" then sAllDescFieldNames=sAllDescFieldNames&","
sAllDescFieldNames=sAllDescFieldNames & sDescFieldName
...
end loop
%>
<input type="hidden" name="skilldescfieldnames" value="<%Response.Write
sAllDescFieldNames%>">

Make sense? Like I said, this is how I've handled it before. Might not be the
best way.

--
mattwarden
mattwarden.com

> 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.






More information about the thelist mailing list