vaishali_sftdev
11th June 2008, 14:09
Is it necesary that the field for After.Field Layout has to be a Table Field?
A variable declared in the Program Script, i have mentioned it in one of the after.field layout. The problem is, in the Report Script after.<fieldname>.1 section is not getting executed. Can someone tell me what can be the problem?

Thanks.
Vaishali

zardoz
11th June 2008, 14:27
Isn't necessary.

The variable is declared as extern in the script (the session script) ?

mark_h
11th June 2008, 16:03
Is this for a report or for a form? For a report script the variable must be one of the sort fields. Then make sure you have an empty layout - it does not have to contain anything.

vaishali_sftdev
12th June 2008, 11:29
Thank u for reply.

yes, i have declared variable as extern in the Session Script.

In Report Script, the section, after.<fieldname>.1 is not executing. And i have mentioned sorted pattern as Presorted.

Mark, i did not undertand "empty layout" . Why an empty layout is required in this case?

mark_h
12th June 2008, 14:49
Just because as far as I know in order to have an event in the report script the layout must exist. I use empty layouts for things like this.

vaishali_sftdev
12th June 2008, 20:27
Ok, understood ur point... My problem is solved, i had mentioned Layout No. wrong :). Thank u for inputs.

vaishali_sftdev
17th June 2008, 06:35
Hi,

is it possible to have two After.Field layouts on two different fields? I have enountered issues in printing report.

mark_h
17th June 2008, 13:27
You can have after field layouts as long as they are part of the sort. Just keep in mind the sort order.

vaishali_sftdev
18th June 2008, 19:00
Yes, Sort Sequence is important.. I made mistake in that.. Thank u for making this point clear.