selction formulanya
.SelectionFormula = " {" & Format(Formula, "YYYY") &
"} >= #" & _
DTPicker1.Value & "#" & _
" And {" & Format(Formula, "YYYY") & "} <= #"
& DTPicker2.Value & "#"
.Action = 1
cat:' di properties DTpickernya set custom, format
datenya tahun aja
'Formula = "exMHS.tgl_lhr"
====================================
--- ".: Dicky Firmansyah :." <[EMAIL PROTECTED]>
wrote:
> Assalamu'alaikum Wr Wb
>
> Halo rekan-rekan milis
>
> Saya mau tanya. Misalnya dalam laporan yang saya
> buat (CR 8.5) terdapat field Tanggal. Nah saya
> berencana untuk bisa menampilkan laporan itu
> berdasarkan tahun dari tanggal tersebut. Misalnya
> yang tahun nya '2006' saja. Nah itu coding di VB nya
> bagaimana ya ?
> Selama ini saya menggunakan coding dibawah ini untuk
> menampilkan laporan melalui VB 6 :
>
> ================
> with cr
> .reportfilename = app.path & "\laporan.rpt"
> .selectionformula = .......(yang saya
> tanyakan)
> .action = 1
> end with
> ================
>
> Terima kasih ya rekan-rekan...
>
> Wassalamu'alaikum Wr Wb
>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Wahana Programmer Groups Links
<*> Untuk mengunjungi sponsor milis ini, klik link berikut:
http://wahanaprogrammer.net
<*> Untuk menghubungi owner milis ini, kirim email ke:
[EMAIL PROTECTED]
<*> Konsultasi pemrogramman bisa chat disini:
Yahoo! Messenger: wahanaprogrammer
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/