I am finding more and more uses for Infopath - I have almost abandoned Excel/Word/Access competely. I have developed a form for an application which solves so many of the difficulties with the other Office apps, but with one very large problem - calculation speed.
The form contains schedules along with costs. The heirarchy is three levels deep - Section/Item/Buildup. I have a number of expression boxes and calculated fields to add materials, labour, subcontractors etc and then calculate total cost and price.
When the file gets up to 400 rows (file size 200k) it can take over five seconds just to add or edit a value. One option was to remove all expressions and self-updating text boxes and then have a 'Recalc' button. I tried this using jscript and then using a rule - both took over two minutes to run through the whole document.
The second idea is to switch self-updating on and off with code, except I can see no way to do this.
The third thought is to submit the whole document to a web service for calculation then reload it back into the form. This may be a stroke of genius or completely mad!
What does anyone else think?
Clive Glover