General information
Category:
Reports & Report designer
OK, so speed is becoming a problem as the size of the data set increases. There are two places where things are really slow.
1) The call to the UDF to update the page total cursor is the slowest part. The UDF is a prg that accepts the data for the fields as parameters and inserts them into the cursor--just 2 lines of code. Is there a faster way to do this? I've tried using Insert ... in the On Exit expression but apparently that's not allowed...
2) I might not have noticed this one except for the previous issue but there are obviously 2 passes through the report. One pass goes to file but the other goes to the printer and is immediately deleted. Is there a way to eliminate the one to the printer? I thought there wouldn't be a second pass if _PageTotal wasn't being used. Perhaps I was mistaken.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only