Ternyata mengunakan Running Totals

caranya:

buat 3 formula


@Initialize

WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := 0;

Untuk mereset Setiap halaman agas tidak terjadi penjumlahaan berlanjut


@Evaluate
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := RunningTotal +ToNumber({Query.POKOK});

Untuk mengkakulasikan rumus 
Query.Pokok = field yang dimaksud


@Display
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal;

Untuk menampilkan Total per halaman


Letakan @Initialize di Page Header
Letakan @Evaluate di Detail
Letakkan @Display di Page footer


Semoga membantu dan memberi ilmu baru buat kita.....


nurfirman wrote:
> Ada nggak yang tau caranya....
> buat subtotal per halaman
>
> contohnya :
>
> page Header
> Hal 1
>
> detail
> A   10
> b   20
> c   30
>
> page footer
> Jmlah hal 1 = 60
>
> Gimna ya buat gitunya......
>
> Please .... kawan..... saya udah 2 hari cari ngak ada..
> lebih bagus lagi ada contoh rptnya .. hehehe
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 

Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Programmer-VB/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke