Dear fren..

matur nuwun masukkannya. ada cara yang lbh simple dari
mas aldi
pake runningtotalnya crystal report >>> typesummarynya
saya pake count >>>> evaluate saya pilih formula trus
saya buat criterianya.. dan sukses.....

trims dan salam,
wayan


--- LiveDeviL <[EMAIL PROTECTED]> wrote:

> coba bantu ya...
> pada CR:
> - buat sebuah formula, beri nama (misal
> JumlahMarried, jumlahSingle),
> langsung disave (tidak perlu menuliskan apapun
> didalamnya)
> - Letakkan field Formula diatas ke layout laporan
> anda sesuai dengan posisi
> yg diinginkan...
> 
> 
> pada VB:
> - buat sebuah recordset.
> - gunakan query untuk mendapatkan data yg ingin
> ditampilkan pada CR
> (misalnya rsHitungRecord).
> - buat sebuah variable untuk menampung jumlah record
> yg didapat dari
> rsHitungRecord.Recordcount. (misal: jumlahRec)
> - passing nilai jumlahRec ke formula JumlahMarried,
> JumlahSingle, dst...
> dengan cara sbb:
>   With crLap
>     .DataFiles(0) = DBPath
>     .ReportFileName = App.Path & "\report\Lap.rpt"
>     .WindowShowSearchBtn = True
>     .Formulas(1) = "JumlahMarried='" &
> CStr(jumlahRec) & "'"     '<---
> disini.. Ulangi untuk jumlahSingle, dst
>     .WindowState = crptMaximized
>     .Action = 1
>   End With
> 
> 
> semoga membantu...
> 
> regards,
> LiveDeviL
> 
> 
> On 12/13/05, p3_tib2001 <[EMAIL PROTECTED]>
> wrote:
> >
> >  kalo ga salah, mungkin bisa menggunakan formula
> di CR. selamat
> > mencoba :)
> >
> > -Petry-
> >
> >
> >
> >
> >
> >
> >  Untuk keluar dari millis ini, kirim email kosong
> ke:
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your group
>
"Programmer-VB<http://groups.yahoo.com/group/Programmer-VB>"
> >    on the web.
> >
> >    -  To unsubscribe from this group, send an
> email to:
> >    
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >
> >    -  Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------
> >
> 
> 
> 
> --
> There's no teacher who can teach us anything new...
> They just help us to remember the things we always
> knew...
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/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