database connection

mea77

16-06-2016

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

Accepted Solutions (0)

Answers (1)

Answers (1)

PeterSalazar1

20-07-2016

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.