Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Connecting to a database- next field button problem

Avatar

Former Community Member
Hi,



I really need help. I'm creating a template where the "First Name" and "Last Name" fields automatically populates when the user clicks a "connect" button. This button will then connect to their local database. I haven't been able to find a solution on how to do this. Does anyone know how to do this? Is there a way that a user can set up their own ODBC and then the pdf will connect to that database?



I've tried using a dummy database and connecting that to the form and the first textfield works. However, I created a "Next record" button and I can't make this work to go to the next record.I'm using a MS access database.

I tried this formcalc stmt but it doesn't work: xfa.sourceSet.{dataconnectionname}.next()



Can anyone help me?

Or know how I accomplish this?



Any help would be greatly appreciated. Thanks
2 Replies

Avatar

Former Community Member
Yes this is very doable. If you want to send your form and the database to livecycle8@gmail.com I will have a look.