Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: All-Topics
when i tried to print a bill using crystal report it showing null values .it mean displaying only column names .i am using this printing for windows form VB 2010.
i connected my database items.mdb through and then then i select columns
called Item_No,Item_Name,Qty,Price,Total,Grand_Total. when i press on print button in form 2 it is displaying only Item_No,Item_Name,Qty,Price,Total,Grand_Total feilds only and not displaying their values
for print button i used this code
Imports CrystalDecisions.CrystalReports.Engine
Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim cryRpt As New ReportDocument
        cryRpt.Load("D:\New folder\Visual Studio 2010\Projects\WindowsApplication2\WindowsApplication2\CrystalReport1.rpt")
        CrystalReportViewer1.ReportSource = cryRpt
    End Sub
End Class
where is the error please kindly tell me. if you found any further details which are required to answer this question please comment. thanks to all in advance
Posted 4-Dec-12 5:28am
(unknown member)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Kornfeld Eliyahu Peter 275
1 Maciej Los 214
2 Sergey Alexandrovich Kryukov 200
3 King Fisher 185
4 OriginalGriff 163
0 OriginalGriff 6,223
1 DamithSL 4,724
2 Maciej Los 4,196
3 Kornfeld Eliyahu Peter 3,894
4 Sergey Alexandrovich Kryukov 3,496

Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100