-
June 16th, 2004, 04:02 AM
#1
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.
-
June 16th, 2004, 05:28 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|