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 / August 2005

Tip: Looking for answers? Try searching our database.

XDocument.Query()

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric - 13 Aug 2005 00:13 GMT
I have got my call to a stored procedure completed using JScript, the
problem is that when I call the stored procedure using the
XDocument.Quiery(), nothing happens.

Is there anyway to debug this process. I already have outputted the query to
a dialog box, and it is correct, I just need to find out what is going on
when actually calling the stored procedure.

Thanks!
Eric
willib - 14 Aug 2005 08:16 GMT
Ther is no query method on the Main XML,
Try query on secondary Datasouces.
    XDocument.DataObjects("NameOfDatasource").Query()

 later maybe call forceUpdate to refresh the view

hth
willib

> I have got my call to a stored procedure completed using JScript, the
> problem is that when I call the stored procedure using the
[quoted text clipped - 6 lines]
> Thanks!
> Eric
Eric - 15 Aug 2005 15:08 GMT
What do you mean that there is no query method on the Main XML, there is no
query on the main data connection?

To learn how to call a stored procedure, I simply followed the tutorial from
Microsoft at:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;827007

which uses the main data connection. Please explain.

> Ther is no query method on the Main XML,
> Try query on secondary Datasouces.
[quoted text clipped - 16 lines]
>> Thanks!
>> Eric
willib - 16 Aug 2005 06:58 GMT
Hello Eric,

sorry, your right, there is a Query Method,
but only if you start your formdesign from a dataconnection..

in Infopath a database query is giving me security-warnings when using db'
on other maschines.
You may have to look at the securitysettings ( crossdomain permission)

hth
willib

> What do you mean that there is no query method on the Main XML, there is no
> query on the main data connection?
[quoted text clipped - 25 lines]
> >> Thanks!
> >> Eric
 
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.