cancel
Showing results for 
Search instead for 
Did you mean: 

List Box for offline adobe forms and select

Former Member
0 Kudos

Hello,

Need help in Offline adobe form.

I drga-n-droped the normal list box from Object Library.

I have data in internal table, but want to display in the list box.

Did binding for single(line items) field like this.. Object->Default Binding->... formname->itab->fieldname.

On executing I dont find data in the list box, even I dont get any scrol bar for the list box.

How can I display the data in normal list box?

After that I want to select one of line item from the list box and get the details of the line item on click.

Tried with few changes again and again..

Please help me..

Thank you!

AVSP..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

When I create an extra listbox, the first value in table is displaying in the first list box and the next/second value is displaying in other list box.

In offlline adobe, is it possible to display and select the item in list box?

Even I dont see the scrolll bar...

Thanks

AVSP...

andrs_sarcevic
Contributor
0 Kudos

1) In Designer, go to Tools -> Options -> Data Binding. Activate "Show Dynamic Properties" / "Use Custom Label Color".

2) Select your listbox, object Tab -> field Tab -> click "List Items".

3) Define your table in the pop-up displayed.

4) Binding Tab of your listbox is to retrieve the user selection.

Cheers,

Andres.

Former Member
0 Kudos

Hi Andres,

I did the same.

Here is my example:

I need to display the field(FIELD) in table ITAB.

Field->List item :

Items : $record.ITAB.

Item Text : DATA[*].FIELD

Item Value : DATA[*].FIELD

Object->Binding :

IT_ADD_NEW.DATA[*].FIELD

I am getting only the first entry in the ITAB, but I have 5 entries.

I am not gettign scroll bar or more than one entry.

Thank you!

AVSP..

andrs_sarcevic
Contributor
0 Kudos

Field->List item :

Items : $record.ITAB.DATA[*] <--- this is why it was showing only the first item.

Item Text : FIELD

Item Value : FIELD

You can also define a KEY field:

field(KEY) in table ITAB.

field(FIELD) in table ITAB.

And bind it to the key field (List item as explained above)

$record.ITAB.DATA[*].VALUE

You'll have the updated values in the same table upon submission.

Cheers,

Andres.

Former Member
0 Kudos

Hi Andres,

I have tried as your steps. I can see the events in Preview PDF

Ex: In Dropdownlist button can be seen in Preview PDF, but when I execute the Transaction I cannot see in output

Button action is working fine in Preview PDF. But not in output/runtime.

Is there any setting I have missed? Why I cant see in the output with events?

Thank you!

AVSP..

andrs_sarcevic
Contributor
0 Kudos

What actions? what events?

If you have followed the above steps, you should see the items populated in your listbox at runtime.

Also, check if you have selecetd "Allow multiple selection". I noticed the items are not displayed if I have that that option ticked - don't know why.

cheers,

Andres.

Former Member
0 Kudos

Hi

Im also facing the same issue . Please suggest me , if u got the solution.

Thanks and Regards

Shravan