Hi,
strSQL = " SELECT * FROM Emoloyee"
rsMaster.Open strSQL, conn, adOpenDynamic,adLockOptimistic,adcmdText
rsMaster.fields("Name"
= "Aroul"
rsMaster.Update
crystalreport1.connect = conn
'other statements
crystalreport1.printreport
When i call like the above the report is showing empty,
but if i introduce a message box in between rsmaster.update
and the crystalreport1.connect like below, the report is printing
rsmaster.update
msgbox "OK"
crystalreport1.connect = conn
'other statements
crystalreport1.printreport
strSQL = " SELECT * FROM Emoloyee"
rsMaster.Open strSQL, conn, adOpenDynamic,adLockOptimistic,adcmdText
rsMaster.fields("Name"
rsMaster.Update
crystalreport1.connect = conn
'other statements
crystalreport1.printreport
When i call like the above the report is showing empty,
but if i introduce a message box in between rsmaster.update
and the crystalreport1.connect like below, the report is printing
rsmaster.update
msgbox "OK"
crystalreport1.connect = conn
'other statements
crystalreport1.printreport