-->

Membuat Laporan Mingguan Crystal Report Pada VB .Net 2010

hpk
Jangan lupa membaca artikel sebelumnya, terkait: > Panduan Pemrograman PHP.

Cara Membuat Laporan Mingguan Crystal Report VB .Net 2010. Pada tutorial kali ini akan membahas pembahasan tentang Crystal Report sebelumnya. Jika sebelumnya kita telah membahas Laporan Harian, Bulanan dan Tahunan, kini saatnya kita akan membahas mengenai Laporan Mingguan.

Apa yang dimaksud laporan Mingguan? Biasanya laporan ini digunakan untuk melihat seleksi tanggal yaitu : Dari tanggal ke tanggal. Biasanya para pengguna Aplikasi ingin melihat Transaksi contoh dari Tanggal 1 Agustus 2016 sampai tanggal 10 Agustus 2016. dan keluarlah data sesuai dari tanggal tersebut.

Cara Membuat Laporan Mingguan Crystal Report Pada VB .Net 2010


Baiklah berikut langkahnya :
#1. Membuat Project dan Form1
Buatlah sebuah Project dengan VB .Net 2010
Lihat gambar diatas, kami membuat Project dengan Nama : AppProject
dan Kami menyimpan di Drive D:\Laporan Mingguan\
Jika sudah buatlah Design Form1 seperti gambar dibawah ini :

Cara Membuat Laporan Mingguan Crystal Report Pada VB .Net 2010
Pada gambar diatas kami membuat design Form1 dengan penambahan :
GroupBox1, Label1, Label2, DateTimePicker1, DateTimePicker2, Button1 dan AxCrystalReport1

Jika sudah anda bisa menyimpannya dan ikuti langkah 2

#2. Membuat Database dan Membuat Sample Data
Seperti halnya dalam membuat Laporan Harian, Bulanan dan Tahunan. Silahkan buat database terlebih dahulu.
Nama Database : DBJNM.mdb
Nama Tabel : Penjualan
Kemudian isi Tabel tersebut manual dengan data contoh seperti gambar dibawah ini :
Anda bisa klik gambar diatas untuk memperbesarnya.

Jika sudah, masukan Database diatas pada Folder Bin\Debug Project VB .Net anda


#3. Membuat dan Mendesign Laporan Crystal Report
Jika sudah membuat database saatnya kita buat laporan dengan crystal report.
Buka Crystal Report Pada komputer anda
Klik File - New :
Klik Standard - OK
Klik Database - Database Files - Find Database File - Pilih Database DBJNM.mdb yang telah anda buat
Klik Penjualan - Add - kemudian klik Close
Klik Next - Add All - Finish

Maka akan muncul gambar dibawah ini :

Cara Membuat Laporan Harian Crystal Report Pada VB .Net 2010
Silahkan anda Save dengan nama : LaporanMingguan.rpt
Jika sudah sukses membuat seperti gambar diatas, kita lanjutkan pada Form1 di langkah 1

Silahkan masukan koding dibawah ini pada Form1
 
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxCrystalReport1.SelectionFormula = "{penjualan.Tanggal} in date ('" & DateTimePicker1.Value & "') to date ('" & DateTimePicker2.Value & "')"
AxCrystalReport1.ReportFileName = "LaporanMingguan.rpt"
AxCrystalReport1.WindowState = Crystal.WindowStateConstants.crptMaximized
AxCrystalReport1.RetrieveDataFiles()
AxCrystalReport1.Action = 1
End Sub
End Class


Jika sudah, silahkan anda Running Project VB .Net anda Kemudian anda bisa Pilih Tanggal awal dan Akhir pada DateTimePicker dan Klik Cetak untuk bisa melihat Hasilnya.
Seharusnya jika benar, maka akan muncul data sesuai dengan pilihan tanggal yang anda inginkan.

Jika anda sudah melakukan langkah diatas, namun data tidak muncul, anda bisa lihat tutorial yang sudah saya buat dengan KLIK DISINI


Demikianlah Cara Membuat Laporan Mingguan Crystal Report Pada VB .Net 2010 semoga bemanfaat untuk anda :)


Selain sebagai media informasi pemrograman, kami juga berbagi script web siap pakai, download di bawah ini.

the cheapest car insurance cost of car insurance best car insurance quotes insurance auto insurance quotes car get car insurance quotes online car insurance agent instant car insurance quote car insurance websites direct car insurance insure a car motor car insurance quote cheap car insurance online quotes for car insurance car insurers commercial car insurance motor insurance quote car insurance quotes online get a quote online international health insurance compare car insurance quotes insurance for car compare car insurance car insurance buy life insurance online compare auto insurance international medical insurance general car insurance cheap motor insurance low car insurance car insurance comparison company car insurance budget car insurance private health insurance online quote car insurance cheap motor car insurance car insurance for new drivers cheap car insurance quotes online online car insurance quotes get car insurance quotes car insurance quotes comparison motor car insurance car insurance quotes car insurance cheap comprehensive car insurance best auto insurance short term health insurance motor insurance cheap online car insurance online motor insurance quotes car insurance california buycarinsurance online vehicle insurance free car insurance quotes landlord insurance health insurance for children motorbike insurance monthly car insurance car insurance usa car insurance reviews car insurance renewal quotes vehicle insurance health insurance rates term life insurance quotes vehicle insurance quotes car insurance compare motor vehicle insurance best car insurance motor insurance online quote car insurance online quote life insurance online supplemental health insurance best car insurance rates car insurance discounts motor vehicle insurance quotes auto insurance cheap travel insurance bike insurance travel medical insurance buy car insurance online online motor insurance travel insurance quote get a quote for car insurance health insurance agent car insurance companies cheap car insurance companies travel insurance annual travel insurance commercial vehicle insurance permanent life insurance medical insurance quotes online car insurance cheap car insurance quotes car insurance online quote insurance online level term life insurance health insurance comparison how much is car insurance travel health insurance pet health insurance quotes on cars health ins travel insurance uk quote for car insurance get insurance quote online disability insurance quote temporary health insurance temporary insurance rental car insurance cheap health insurance auto insurance compare third party car insurance buy health insurance auto insurance quotes cheap insurance companies best term life insurance personal health insurance online quote insurance car insurance premium health insurance policies quotes for cars whole life insurance credit insurance cheap van insurance cheap term life insurance cheap motorcycle insurance compare life insurance car insurance cover health insurance motorcycle insurance short term car insurance health insurance coverage insurance qoute cheap life insurance house insurance quote car insurance uk health insurance companies cigna health insurance cheap insurance cheap car insurance uk compare health insurance car insurance for young drivers short term insurance online health insurance caravan insurance life insurance comparison direct insurance health insurance plans motor insurance online car insurance estimator accident insurance home insurance quotes nj car insurance new car insurance private medical insurance home insurance car insurance brokers car insurance rates commercial insurance health insurance quotes motor insurance companies which car insurance car quotes online online auto insurance flood insurance cheap auto insurance quotes car insurance agencies business health insurance term life insurance truck insurance professional indemnity insurance life insurance car insurance policy long term care insurance drive insurance buy insurance car ins motorcycle insurance quote critical illness insurance term insurance student health insurance home insurance comparison insurance rates insurance cover holiday insurance insurance sites online vehicle insurance quotes company website home insurance rates compare insurance buy insurance online affordable medical insurance car insurance coverage product liability insurance home contents insurance buy life insurance renters insurance group health insurance family health insurance motor insurance quote online mortgage insurance best home insurance personal insurance medical insurance property insurance life insurance agent group insurance aetna health insurance cheap medical insurance liability insurance rental insurance life insurance policy group life insurance general liability insurance insurance quotes online all car insurance companies best health insurance insurance plans life insurance for seniors van insurance website quote universal life insurance building insurance co insurance insurance car car insurance prices disability insurance insurance vehicle cheap vehicle insurance senior life insurance medical insurance plans insurance health house insurance life insurance quotes car quotes cheap home insurance

0 Response to "Membuat Laporan Mingguan Crystal Report Pada VB .Net 2010"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel

close
[ klik disini 1X ] [ close ]