Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

taking 5-10 minutes to open a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ankit Tyagi - 27 Jan 2006 13:06 GMT
We are using an XSD which is including various XSD's and resulting in huge
data source. When we make form ,from this huge XSD data source, the form
takes 5-10 minutes to open.
Is this a normal problem or there is some way to get rid of this time
consuming act.

Signature

Thanks and Regards
Ankit Tyagi

Ben Walters - 30 Jan 2006 22:35 GMT
Hey Ankit,
there are a couple of things that could be causing this delay

1: Querying Data sources on start up, when you create data connections in
InfoPath by default they will attempt to execute when the query when the form
loads. If the data from theses connections is not required till latter then
query the data when its required not on load.

2: Mapping fields to events in managed code, if you have  lot of controls on
your form that all have events linked up to them then infopath has to map
each of these events to controls via the data in the Manifest. this is very
slow, to get around this you can create a global event that uses a switch
statement to forward processing on to the correct method.

3:Excessive processing, this is an extension of number 2 basicaly if your
form is running a lot of processing such as validations etc when the form is
loading then this will slow it down as well.

There was a really good presso on this at Teched 2005 I'm still trying to
track down a link to it when I do I'll post back but until then I hop this
helps

Regards
Ben

> We are using an XSD which is including various XSD's and resulting in huge
> data source. When we make form ,from this huge XSD data source, the form
> takes 5-10 minutes to open.
> Is this a normal problem or there is some way to get rid of this time
> consuming act.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.