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

Warden, Matt mwarden at odyssey-design.com
Mon Nov 6 15:49:11 CST 2000


> set filter on database to category code
> dim fieldname, n
> n = 1
> loop
>     fieldname = "skilldesc" & cstr(n)
>     recordset.description = Request.QueryString(fieldname)
>     n=n+1
>     adors.Update
>     adors.MoveNext
> end loop

are you not assuming that there are records starting at 1 and going on from
there hitting each integer? And I don't see how the loop ever stops... how
would you know when to stop the loop?

> (It does of course make the assumption that the order of the fields on the
> posting form are the same as the order of the records in the db.  Is this a
> horrible assumption to make?)

Maybe, maybe not. Just don't delete any records ;-)



--
mattwarden
mattwarden.com





More information about the thelist mailing list