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

Tip: Looking for answers? Try searching our database.

SQL database connection speed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlexW - 29 Jan 2007 19:41 GMT
I am a non-programmer, but have successfully created an Infopath form in
which the user enters a client ID number and the form retrieves basic name
address information (read only). Other fields in form can be updated and
submitted back to the SQL database. All very successful, works like a charm.
The only trouble is that the first retrieval of the ID information is very
slow. Only 40 seconds in the main building, but ten minutes from outside
using the VPN - too slow to be useful. Have I done something wrong? Or is
there a way to optimize data retrieval speeds? The form is linked to 6 tables
and I notice speed decreases with each additional table. Tried publishing to
Sharepoint, but no difference in speed. Would the web work better?

Alex.
Signature

CNIB
vision help. vision hope

Art's Antique Radios - 30 Jan 2007 03:50 GMT
Instead on linking to six tables, you need to either create a single table
or view that contains all the data.

Joins, which essentially is what you are doing, slows the process
tremendously.

>I am a non-programmer, but have successfully created an Infopath form in
> which the user enters a client ID number and the form retrieves basic name
[quoted text clipped - 11 lines]
>
> Alex.
AlexW - 31 Jan 2007 19:47 GMT
Thanks very much, that was very helpful, and the speed is now real quick.
Now I have another problem: I used the VIEW option suggested and it pulls
fields from 6 tables. When I click on SUBMIT I get the following error:

"onsubmitrequest event handler returned a value indicating that the submit
failed"

My two SQL gurus have conflicting opinions about whether or not you can
update through a VIEW to the underlying tables. Have we missed something?

Alex.
Signature

CNIB
vision help. vision hope

> Instead on linking to six tables, you need to either create a single table
> or view that contains all the data.
[quoted text clipped - 17 lines]
> >
> > Alex.
AlexW - 01 Feb 2007 16:41 GMT
More information on the submit issue: In the Infopath set up wizard on a
status page, is the message: "Submit Status not allowed - a SQL Join
statement was used."

Can anyone advise me on the correct syntax for creating the View?

Thanks, Alex.
Signature

CNIB
vision help. vision hope

> Thanks very much, that was very helpful, and the speed is now real quick.
> Now I have another problem: I used the VIEW option suggested and it pulls
[quoted text clipped - 29 lines]
> > >
> > > Alex.
 
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.