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.SSend me the code so that I can check
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment