'How to overcome 255 layout limit in PPFA code

We have reached the PPFA layout limit. There is a max limit of 255 layouts in PPFA code. We maintain about a 1000 different forms and all these forms are defined using the layout command in PPFA. In our data file any one of these forms can be printed so there's no way for us to split the PPFA file. Is there a way to increase the limit? Here is an example of our code

PAGEDEF placeholder replace yes
     WIDTH 8.5 in
     HEIGHT 11 in;

PAGEFORMAT  placeholder 
     DIRECTION back;

LAYOUT C'mylayout1' BODY
  POSITION .25  in ABSOLUTE .25 in
  FONT TIMES
  OVERLAY MYTEMPOVER1  8.5 in 11.0 in;
  FIELD START  1 LENGTH 60
  POSITION 2.0  in 1.6  in;

LAYOUT C'mylayout2' BODY
  POSITION .25  in ABSOLUTE .25 in
  FONT TIMES
  OVERLAY MYTEMPOVER2  8.5 in 11.0 in;
  FIELD START  1 LENGTH 60
  POSITION 2.0  in 1.6  in;

...

LAYOUT C'mylayout254' BODY
  POSITION .25  in ABSOLUTE .25 in
  FONT TIMES
  OVERLAY MYTEMPOVER254  8.5 in 11.0 in;
  FIELD START  1 LENGTH 60
  POSITION 2.0  in 1.6  in;

As you can see there are about 255 layouts. If I add another layout I'll get an error when I compile the PPFA. Is there a way around this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source