Hello Everyone,
I am user Adobe Designer 7 to create a fillable PDF, and I would like to get the options for a drop down menu from my MS Access database. Basically I would like to populate the drop down menu with the names in the Access database. There i Have a table called PhoneNumbers and it contains the names of all the people I want to appear in the drop down menu that I just created.
This is what I did:
I created a drop down menu and then I clicked on Object > Binding > under "Default Binding (Open, Save, Submit)" choose "New Data Connection"
then connect to the database using a fileDSN. I opened the table where with the "names" column (PhoneNumbers)
and under the "Query," option, I wrote:
select * from PhoneNumbers
Then it gave me all the fields from the table and I dragged the "Last name" field over the drop down menu. I will need to find a way to get the "First Name" field to join the Last Name field to create one name that looks like this: Hill, Angie
The problem is that even though it shows the name from the Access database, it does not give me a list of all the names when I open the form in Reader 7...
No matter how much I click that drop down arrow, the name does not change...
It's almost as if it gets to the databse and gets the data from the database, but it cannot loop through it...
It's almost as if it's missing the code to loop through it...
Why is this? Any ideas how to fix it so it gives me a list of ALL the names, when I click on the drop down button?
After that, how can I add the first name to it?
The form would look like this:
Angie H. 202 641 2055
Right now it does look like that, but I cannot change to another name when I click the drop down menu. For the code to be working when I change to another name, the phone number also changes to the phone number of that person:
Barry S. 703 555 1258
The name is in a drop down menu, the phone number is in a textbox.
Can you help me with this?