Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiation affects processing speed
Message
From
15/12/2001 16:29:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Instantiation affects processing speed
Miscellaneous
Thread ID:
00594848
Message ID:
00594848
Views:
60
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
Map
View

Click here to load this message in the networking platform