pjohns
28th March 2003, 11:12
Hello,

I have created a new layout based on the Purchase Order layout tdpur440101. I haven't really done that much except for to remove a few "redundant" layouts and added a couple more. My problem is that now I've made these changes the totals do not print out in the After.Field 20 layout. Which has me very confused.

I still have the Detail.10 layout which shows the PO lines and I have not changed the After.Field.20 layout which displays the totals.

The changes that I made to the report script I have taken out. The script is now the same as a layout that does work.

I can only think that one of the layouts that I've removed must have some link to the logic calculating the totals. But I cannot see where!

Does anybody have any ideas?

I've attached the report objects for reference.

Thanks in advance.

PJ

fmorais
28th March 2003, 12:35
Hi,

Did you check the field print conditions?


Fred

pjohns
28th March 2003, 12:42
Hi Fred,

The field print conditions have not been touched. They have the value of '1'.

Regards

PJ

rupertb
28th March 2003, 14:15
Hiya PJ,

Be careful when removing redudant layouts, if the layout is not present then the corresponding section in the report script won't be executed. Rather use the following functionality:

detail.1 <= dont want it any to print anymore



detail.1:
before.layout:
original code line 1
original code line 2

rupertb
28th March 2003, 14:21
Hiya PJ,

Be careful when removing redudant layouts, if the layout is not present then the corresponding section in the report script won't be executed. Rather use the following functionality:

detail.1 <= don't want it any to print anymore



detail.1:
before.layout:
original code line 1
original code line 2

lattr.print = false



Using this method the layout won't print anymore but any code linked to the layout will still be executed.

Regards,
Rupert