From HTML5 Builder
Jump to: navigation, search

MDBTransaction lets your application perform a transaction against an MDB object.


These are JavaScript functions you can call when you use this component in a screen.

Note: Replace ComponentName with the actual name of the component, that is, the value of its Name property. For example: MDBTransaction1.

Performs a transaction on a database (MDB object).


These are JavaScript MDBTransaction events you can associate to JavaScript functions.

This event gets triggered when you run ComponentNameTransaction. Its only parameter an object on which you can call executeSQL methods. In the function you call from this event, you should define any SQL code you want to run to the database ComponentName is associated to through executeSQL calls.
This event gets triggered when an error occurs after calling ComponentNameTransaction. Its only parameter is a ContactError object.
This event gets triggered when ComponentNameTransaction runs successfully.

See Also