crystaldev1
Programmer
Hello, I'm using CR 2008.
I have an update sql command in a separate subreport to update a field everytime the report is generated. This is slowing down the performance of a report. The update command is as follows:
Select * from ABC
Update ABC
Set ABC.Check = 'Yes'
where ABC.Batch = {?Batch} and ABC.Seq = {?Seq} and
month ({?Mth}) = month(ABC.Mth) and year ({?Mth})= Year(ABC.Mth)
Can this be achieved without using command subreport? Perhaps sql expression? Thanks.
I have an update sql command in a separate subreport to update a field everytime the report is generated. This is slowing down the performance of a report. The update command is as follows:
Select * from ABC
Update ABC
Set ABC.Check = 'Yes'
where ABC.Batch = {?Batch} and ABC.Seq = {?Seq} and
month ({?Mth}) = month(ABC.Mth) and year ({?Mth})= Year(ABC.Mth)
Can this be achieved without using command subreport? Perhaps sql expression? Thanks.