Occurrence Violation

Avatar

10-02-2009

I am creating a form that has 3 tables that allow users to add lines to each table. The first 2 tables will add lines correctly but when you select add a line to the final table it gives the following error:



Table[1] has no properties

1:XFA:topmostSubform[0]:Page1[0]:addrow2[0]:Button1[0]:clickTable1[1] has no properties

1:XFA:topmostSubform[0]:Page1[0]:addrow2[0]:Button1[0]:click GeneralError: Operation failed.

XFAObject.addInstance:1:XFA:topmostSubform[0]:Page1[0]:footer[0]:Button1[0]:click the element [max] has violated its allowable number of occurences.



I have tried renaming everything but it still gives me the error. It also gives me the error when I delete one of the working tables.

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

10-02-2009

There is nothing wrong with the naming ....you have to allow the line subform in the table to repeat. There is a checkbox on the Binding tab of that subform...make sure it is set to allow multiple instances.