[thelist] Update Quantity in Shopping Cart

Scott Dexter sgd at ti3.com
Fri Apr 6 10:51:53 CDT 2001

Are you talking about building the page or processing it?

need more info =)

I loop the deletes first, then scroll through the rest of it, updating all
the records (even the ones that weren't changed). The update command won't
throw an error on the records that were just deleted...

That is the essence of Quick and Dirty® I know, but it will get the job

I would recommend not doing two loops though, instead loop through the form
once, checking the delete checkbox first, else do an update....

make sense?

work: http://www.ti3.com/
non: http://thinksafely.org/

> -----Original Message-----
> From: Michele Foster [mailto:michele at wordpro.on.ca]

> I'm really stuck on a problem I'm having.  I've build my 
> shopping cart and
> want to have an update cart page.  With both quantity and 
> delete fields
> available for each item.  But with only one update cart button. e.g.
> Product        Qty        Delete
> Item 1            1            checkbox
> Item 2            1            checkbox
> Item 3            1            checkbox
> [Update Cart]
> Does anyone have any tutorials or advice on how to do this?
> ASP with Access.

More information about the thelist mailing list