Expand my Community achievements bar.

database connection

Avatar

Former Community Member

hello,

i hade made a form with adobe livecycle designer.. i also connect it to ODBC database... i have added buttons to the form like (next, previous, last, save)

my question:

when i enter a new data to the form and press on save button the data i entered disappear and not saved to the database..

how can i make save button and add button works probably, please help me

thanks

1 Reply

Avatar

Level 1

In my experience, I use the add button (xfa.sourceSet.DataConnection.addNew();) to create a new record in the database, but it is blank. After entering the data, I use the update button (xfa.sourceSet.DataConnection.update();) to update the database. Both examples are in javascript.