Private Sub Command1_Click()
Dim DE As DataEnvironment1
Set DE = New DataEnvironment1
DE.Connection1.ConnectionString = StrConnect
Set DataReport1.DataSource = DE
DE.CommandLaporan "" & tglAwal.Value & "", "" & tglAkhir.Value & ""
DataReport1.Show
'ex. query CommandLaporan :
'select * from nama_tabel where tgl BETWEEN ? AND ?
End Sub
Wahby <[EMAIL PROTECTED]> wrote:
thanks mas.. udah saya coba dan bisa satu lagi mas gimana masukin
Command parameter SQL ke dalam text atau pun DTPicker misal nya menampilkan
laporan dari tanggal 1 sampai tgl 30 berdasarkan DtPicker...thanks sebelum nya
Send instant messages to your online friends http://uk.messenger.yahoo.com
[Non-text portions of this message have been removed]
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[Non-text portions of this message have been removed]