Forums

This topic is locked

commit/rollback problem

Posted 03 Oct 2003 19:46:50
1
has voted
03 Oct 2003 19:46:50 sandeep kulkarni posted:
I am having 3 registration form for the new user with 3 different table.in one form user feels his/her personal info. in second his details and in 3rd he/she upload the 8 images
when he submit his first form that get saved in one table,it takes user id and insert it into 2nd form which is detail form and same with 3rd. but problem is if he/she fail to uplaod images then that entry doesn't go into database.now what i want is how to delete previously inserted record from 2 table.if he fails to uplaod any images.how to rollback the changes.

Replies

Replied 04 Oct 2003 23:29:04
04 Oct 2003 23:29:04 Marja Ribbers-de Vroed replied:
You could use a transaction if your database supports it (not Access). Which database are you using?

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/

Reply to this topic