We had an old program that programmer wrote using a scan statement - when processing a report took about 4 minutes to get to last page of report if you previewed report.
Changed the scan to a sum statement - time went down to about 35 seconds
Changed the sum to a select sum(amount)...... etc - time went down to a few seconds. Just thought I would post this for new programmers.
Changed the scan to a sum statement - time went down to about 35 seconds
Changed the sum to a select sum(amount)...... etc - time went down to a few seconds. Just thought I would post this for new programmers.