cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with creating dynamic table in Pdf

Former Member
0 Kudos

Hi,all

I'm trying to create a dynamic table in Interactive Form.

The "add row" button do the following:

Table1.Row1.instanceManager.addInstance(1);

When I click this button in debugger mode of Acrobat Reader

I give the following message:

GeneralError: Operation failed.

XFAObject.addInstance:32:XFA:form1[0].#subform[0].Button1[0]:click

The element [max] has violated its allowable number of occurrences.

What may be the problem?

Regards,

Michael

Accepted Solutions (1)

Accepted Solutions (1)

barca23
Explorer
0 Kudos

Hello Michael,

Check that you have flagged the "Repeat Subform for each data item" flag in the Object/binding tab of the Row1 Subform.

Kind Regards,

Pelaez Lopez Philippe

Former Member
0 Kudos

Hi,Pelaez Lopez Philippe

Thanks for your answer,it solved my problem.

But now I have another problem,the rows which

I add are invisible at run time but visible in

PDF preview window.

Any ideas?

Regards,

Michael

Answers (3)

Answers (3)

Former Member
0 Kudos

solved by myself

barca23
Explorer
0 Kudos

Sorry,

I can't help you on this one.

I only use ABAP for the PDF generation .

Kind Regards,

Pelaez Lopez Philippe

Former Member
0 Kudos

check out the form properties in the edit menu.

Hope this will help.

barca23
Explorer
0 Kudos

Hello Michael,

Check that you have flagged the field DYNAMIC in structure /1BCDWB/DOCPARAMS in your program.

Kind Regards,

Pelaez Lopez Philippe

Former Member
0 Kudos

Hi,Pelaez Lopez Philippe

I didn't find it.Where is it?

I'm using JAVA,not ABAP

Regards,

Michael