General information
Category:
Forms & Form designer
Title:
Instantiation affects processing speed
I'm revisiting instantiation as I optimize a rather complex form.
I have a form that accomplishes basically two tasks.
Task #1 is a multi-pass process thru a database creating ratings based on various field values and user criteria.
Task #2 is displaying the data on a 10 page, pageframe - each page with its own custom grid - user needs to see the data sliced/diced in a lot of different layouts.
---
I'm trying to optimize the processing speed of task #1.
If I run task #1 without the grids instantiated (run code prior to opening form with grids) I see an acceptable processing time.
Because the user can change criteria, task #1 needs to be run after instantiation of grids - so I run it from inside the form with the grids.
In that case, I see an unacceptable processing time. (factor of 10 or so).
---
What means can I use (I'd rather not release all the grids as the user will have selected various sort orders and layouts) to be able to run task #1 while the grids are instantiated?
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