# Print Form (PDF output) issue

**URL:** <https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [April 3, 2018, 8:39pm UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756 "2018-04-03T20:39:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [April 3, 2018, 8:39pm UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756/1 "2018-04-03T20:39:39Z")

</div>

Hi,

I have a page layout with a textgrid2 (w\_lines) inside a rowtablearea2 (w\_grid\_lines), that means every row of rowtablearea2 contains a textgrid2. This is how my variables are declared:

1 W\_GRID\_LINES (1:_)  
2 SELECTED (L)  
2 TRANSPARENT (U) DYNAMIC  
2 W\_ASS\_ELETRONICA (U) DYNAMIC  
2 W\_CPF\_ALUNO (U) DYNAMIC  
2 W\_DATA\_EMISS\_2 (U) DYNAMIC  
2 W\_DA\_FIM\_TURMA (U) DYNAMIC  
2 W\_DA\_INI\_TURMA (U) DYNAMIC  
2 W\_DATA\_EMISS\_1 (U) DYNAMIC  
2 W\_DATA\_NASC (U) DYNAMIC  
2 W\_DOCTO\_IDENT (U) DYNAMIC  
2 W\_ESTABELEC (U) DYNAMIC  
2 W\_LINES (1:_)  
3 W\_NO\_INSTRUTOR (U) DYNAMIC  
3 W\_NO\_MODULO (U) DYNAMIC  
3 W\_NU\_HORAS (U) DYNAMIC

I populate them using the code below (i put part of it here):

FOR #I 1 TO 25  
\*  
EXPAND ARRAY W\_GRID\_LINES TO (1:#I)  
\*  
MOVE #NO-ALUNO-SORT TO W\_NOME (#I)  
MOVE #DA-NASC-SORT TO W\_DATA\_NASC (#I)  
MOVE #DOCTO-IDENT-SORT TO W\_DOCTO\_IDENT (#I)  
MOVE EDITED #NU-CPF-SORT (EM=999.999.999/99) TO W\_CPF\_ALUNO (#I)  
\*  
MOVE #NO-ESTABELECIMENTO TO W\_ESTABELEC (#I)  
MOVE #NO-MUNICIPIO TO W\_MUNICIPIO (#I)  
MOVE #SG-UF TO W\_SG\_UF (#I)  
MOVE #NO-MUNICIPIO TO W\_LOCAL (#I)  
MOVE EDITED _DATX (EM=DD/MM/YYYY) TO W\_DATA\_EMISS\_1 (#I)  
MOVE #NO-DIRETOR TO W\_NO\_DIRETOR (#I)  
\*  
FOR #L 1 TO 5  
EXPAND ARRAY W\_LINES TO (_,1:#L)  
MOVE #NO-MODULO (#L) TO W\_NO\_MODULO (#I,#L)  
MOVE #NU-HORAS (#L) TO W\_NU\_HORAS (#I,#L)  
MOVE #NOME-INSTRUTOR (#L) TO W\_NO\_INSTRUTOR (#I,#L)  
END-FOR  
END-FOR

Notice that textgrid2 is a bidimensional array.  
When i run my application both grids are populated and showed with success.

Now, to print this page layout I´ve created a Print Form (PDF output) where I´ve put a cisfo:textgrid2 inside a cisfo:rowtablearea2. I´ve set the cisfo:textgrid2´s gridprop to w\_lines and cisfo:rowtablearea2´s gridprop to w\_grid\_lines. I´ve added 3 columns to cisfo:textgrid2 setting its valueprop property to w\_no\_instrutor, w\_no\_modulo and w\_nu\_horas respectively ( see figure below).

The issue occurs here, when I set the cisfo:textgrid2´s gridprop to w\_lines the Print Form is no more rendered on develop time, on runtime a blank Print Form is showed. So i have some questions about it:

1. Does gridprop property support bidimensional array?

2. Can i put a cisfo:textgrid2 inside a cisfo:rowtablearea2?

3. Is there a way to make a master detail (grid inside another grid) Print Form?

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [April 6, 2018, 8:04am UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756/2 "2018-04-06T08:04:36Z")

</div>

Hi Frederico,

I also have problems with the cisfo:textgrid2 control. Even without having it nested in a cisfo:rowtablearea2.  
Looks to me as if not the nesting causes trouble, but the cisfo:textgrid2 itself.  
I recommend to open a support request.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [April 10, 2018, 8:59pm UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756/3 "2018-04-10T20:59:59Z")

</div>

Thanks Christine,

What´s the software ag email for that?

---

<div class="post-metadata">

**Author:** ![Holger\_von\_Thomsen](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/holger_von_thomsen/32/178_2.png) [@Holger\_von\_Thomsen](https://techcommunity.softwareag.com/u/Holger_von_Thomsen)\
**Post date:** [April 11, 2018, 3:44pm UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756/4 "2018-04-11T15:44:52Z")

</div>

Hi Frederico,

please go to the website [empower.softwareag.com](http://empower.softwareag.com) and login with Software AG credentials.

You need to be registered as an “Authorized Technical Contact” for your Customer ID at Software AG.

Then select “Contact Support → eService”.

Select “New Incident” and fill out the form.

Regards,  
Holger

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:40pm UTC](https://techcommunity.softwareag.com/t/print-form-pdf-output-issue/198756/5 "2021-04-02T15:40:24Z")

</div>


