--- Eric Lawardi <[EMAIL PROTECTED]> wrote:

> Dear all,
> 
> Numpang tanya, gimana caranya menghitung nilai total
> untuk setiap halaman
> dari sekelompok data?
> Sy udah coba membuat group berdasarkan halaman tapi
> datawindow tetap
> menampilkan nilai total keseluruhan bukan per
> halaman.
> Contoh hasil yang diinginkan sbb.
> 
> Halaman 1
>
-----------------------------------------------------------------
> Item          Harga
> 
>
-----------------------------------------------------------------
> A              5.000
> B              3.000
> C              2.000
> 
>
-----------------------------------------------------------------
>                 10.000 <-- Total Harga untuk halaman
> 1
> 
> 
>  Halaman 2 (halaman terakhir)
>
-----------------------------------------------------------------
> Item          Harga
> 
>
-----------------------------------------------------------------
> D              4.000
> E              10.000
> F              6.000
> 
>
-----------------------------------------------------------------
>                 20.000 <-- Total Harga untuk halaman
> 2
> 
>                 30.000 <-- Grand Total Harga untuk
> semuanya
> 
> 
> Mohon bantuannya.
> 
> 
> Regards,
> 
> Eric
> 




cumulativesum(1 for group 1) //untuk menghtung jumlah
group

count( nama_kolom for all )//untuk menhitung jumlah
seluruhnya


Dicoba aja,kalo salah berarti saya bodoh....


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping



-----------------------------------------------
IndoPB - Indonesia PB User Group 
An Indonesian PowerBuilder User Group's Event
2nd PowerBuilder Update
Rumah Sakit Jantung Harapan Kita
26/27 August 2006
To Register : 
http://groups.yahoo.com/group/indopb/database?method=addRecord&tbl=4 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/indopb/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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