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 / May 2007

Tip: Looking for answers? Try searching our database.

Long query time... disable Infopath warning

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
morten w - 03 May 2007 18:57 GMT
Dear InfoPath community,
A MSDN technical article on Infopath2007 says:
InfoPath 2007 has added several features to help improve the experience with
data connections:
The UI enables the end user to cancel the query if it is taking too long to
execute.
The message is:

"The query returned large amounts of data and rendering your form may take
some time.
Do you want to continue?" (Yes / No)

My question is: How do you disable this message? Can I?

I have developed a "pure SQL 2005" form that runs some "complex" SQL queries
using drop-down list boxes. Every time I change a value in a drop down box, I
get that InfoPath "warning"...imagine that 10 users have to click yes 100
times a day...

All help will be appreciated.
Mooky - 09 May 2007 21:15 GMT
The worst part is, the infopath forms services site the form gets posted on,
doesnt even give detailed information. something like "There has been an
error while processing the form". It took me a second to put the two
together. I get the error when i hit submit query from the template that says
large amounts of data etc. I am experiencing the same thing and its quite
ridiculous that they didnt experience this behavior in any testing. Im simply
connecting to a DB/Table on the LAN, trying to retrieve simple data in hopes
of doing some more advanced stuff with the business catalog etc. and cant
even scale right off the bat. Im assuming i have to write some custom code to
suppress that message. That means that ill have custom code and have to do
the whole administrator approved template thing.

Does anyone have any better ideas???

> Dear InfoPath community,
> A MSDN technical article on Infopath2007 says:
[quoted text clipped - 16 lines]
>
> All help will be appreciated.
morten w - 09 May 2007 22:10 GMT
And i only have 160 records.....what do you mean by the whole administrator
approved template thing?

> The worst part is, the infopath forms services site the form gets posted on,
> doesnt even give detailed information. something like "There has been an
[quoted text clipped - 30 lines]
> >
> > All help will be appreciated.
Mooky - 09 May 2007 22:33 GMT
I believe you can add custom code to the run query button (or change it to a
custom code/rules button) that will suppress the error message. However, once
you do that, you dont get the option to just simply post to a doc library,
create one on the fly etc. You must select "administrator approved template",
copy the template to the local (i think the local part is optional)
sharepoint server then go into the central admin site, upload the template
through that, etc. Quite more complex than saying "publish to a sharepoint
site" and "ok". I understand the security implications with allowing joe user
to post a form template that runs code on a web server but there has to be a
better way than the junk i currently have to go through.

Pretty weak IMO.

> And i only have 160 records.....what do you mean by the whole administrator
> approved template thing?
[quoted text clipped - 33 lines]
> > >
> > > All help will be appreciated.
 
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.