PDA

View Full Version : What to do after insert


QbertsBrother
08-09-2007, 04:41 PM
i have a form that inserts info into a database. after the insert nothing changes. i am not quite sure what i am supposed to do after the insert.

what would be nice is if an alert would pop up saying that the insert was successful and then clear the form so another record could be inserted.

anyone know how i would go about doing that?

thanks

dr_zeus
08-10-2007, 06:13 PM
You should receive some sort of result or fault event when you're done with any communication with a server. You can easily show an alert or do something else when you get that event. Check in the documentation for the events fired by whatever class you're using.

QbertsBrother
08-13-2007, 04:49 PM
i am using the HTTPService to pass data to a php page and insert that way.

i get no result when i insert. it inserts that data and just stays there with the completed form.