How many records are being loaded into the drop-down list? 25, 50, 100, 1000? The more you have here, the slower things will get when you hae more rows in your main table.
Also, if you have a lot of embedded sections or tables in the view, that can slow things down too.
What pieces of your form is getting slowed down? Insert/Delete? Drop-down selction, moving from field-to-field? Is it just certain parts or the entire form?
--
Greg Collins [InfoPath MVP]
Visit
http://www.InfoPathDev.com
One drop down box from the query side, "Select Customer Name"
That drop down pull in all the customer names and associated customer number
from a table in Access.
then, in the data fields, in a repeating section, I have two data controls,
"sales order number" and "Invoice Number"
Inside this repeating section is another repeating section with the following;
line number, item number, description, qty, invoice date.
All this information is pulled from one access database. It is set up in
three main tables with no primary keys. The customer table has 3 columns;
customer name, customer number, and a concantonated number-name.
Then I have a sales order headers table with columns order number, customer
number,invoice number. The third table is the sales order lines; order
number, line number, item, etc.
Everything actually works, and this form is only built to retrieve past
sales info that was unable to be imported into a new system.
It works fine for customers with less than 50 or so sales orders, but for
customers that have 100+ sales orders with maybe 10 lines each, it seems like
it hangs forever. It can take 5 minutes to render the form.
I know a query in Access would be faster, but IP let me build a form that
looks just like our old system, which requires no training for the end users,
plus the database was simple to build. My solution would be nearly perfect
if the form renders quickly.
Greg Collins said:
What is your view made up of? A series of drop-down list boxes, text boxes, or what?
--
Greg Collins [InfoPath MVP]
Visit
http://www.InfoPathDev.com
I have a form built, connected to a Access databse that retrives some sales
information. (Select Customer, retrieve item sales history) I have embedded
repeating tables (2) and everything works fine. However, the form reneders
very slowly if it returns more than about 50 lines of data. (by slow I mean
it can take 3 minutes to complete) I only have 8 data fields that get
populated, and the database is only 3 tables with about 97,000 records (9
fields per record). It would seem to me that it should be faster or is this
the best that Infopath can do. I used Infopath because it was a quick, easy
way to build the form and distribute it to users. Any input greatly
appreciated