These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Data Drop Down not displaying data?

bojangles12
Registered: Feb 5 2009
Posts: 3

Hi,

I'm using Adobe LiveCycle Designer 8.0.1:

I've created a system DSN connection and used OLEDB / ODBC drivers to create my data connection:

When I go to preview PDF, or publish the PDF to static Adobe 7 it only shows the first record in my table and if I try to click on the drop down my system just gives the "you screwed up" bell. Any thoughts as to what I should do next?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Did you use the "Data DropDown" in the "Custom" library tab? Did you fill out the parameters correctly in the "Initialize" script. Do not bind this component to elements in the database.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

bojangles12
Registered: Feb 5 2009
Posts: 3
I do not have anything in the initialize script. I'm still pretty new at scripting period, what is supposed to go there? Is there a guide I should follow for figuring this out?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The Data Drop Down from the Custom Libarary tab already has an Initialize script. To make this control work you have to fill in some information in the script.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script