CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Crystal Reports

  1. #1
    Join Date
    Jun 2004
    Location
    Coimbatore
    Posts
    25

    Thumbs up Crystal Reports

    Sample Code:

    --------------------------------------------------------------------------
    g_m_cnnRAM.BeginTrans
    ChangeClosingStock // The Function Which Holds Views

    crReports.SQLQueryString = Select LotNo, Variety, Cl_Kgs, Value from ClosingStockView

    frmViewer.Show
    frmViewer.CRViewer1.ReportSource = crReports
    g_m_cnnRAM.CommitTrans
    frmViewer.CRViewer1.ViewReport
    frmViewer.CRViewer1.Zoom (1)



    -----------------------------------------------------------------------------

    The Above is the Sample Code. After the CommitTrans, the ViewReport is Called. At this time if ClosingStockView is Altered, I Get the Someother Modified Data instead of my Data. If I give CommitTrans After ViewReport the System gets Hung.

    Find me a solution for this.

    Ashok.S
    Last edited by Ashok.S; June 16th, 2004 at 10:39 PM.

  2. #2
    Join Date
    Jun 2002
    Location
    Kuwait
    Posts
    44
    Send me the code so that I can check

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured