Field Summary Help

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
MrGer
Posts: 2
Joined: 2010-03-21 12:21:58
Location: Hungary

Field Summary Help

Post by MrGer »

Hello!

I'd like to summarize 2 field, but it doesn't working....

I try these (in the AMCReport designer, Field Text Editor / Script option:


1. create a new field, set datatype to number and create a script:
Sum([label:Size]), Sum([label:Disks])

2.
Sum([Size], MasterData), Sum([Size] + [Disks])

I put this filed on MasterData or PageFooter.
I get an Error Message all time...


(And also like hide expression, when it appeared twice. e.g. make a list, when I sort films as Director, but one director can visible just once.)


Can anybody help me?
antp
Site Admin
Posts: 9652
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
I am not sure that master/detail is supposed to work, it is rather for real database sources.
I do not know what Sum is supposed to do either.
I use a complete reporting engine, but only some of its feature are available in the way I use it in AMC.
MrGer
Posts: 2
Joined: 2010-03-21 12:21:58
Location: Hungary

Sum

Post by MrGer »

Thanks! I'll try again...
Post Reply