-
Make sure your XPath is right. Also, if you get an object expected error, maybe that means that there were no rows that matched your criteria in the database, which tells you what you need to know.
What exactly is your error and could you give us the code snippet that is performing your query?
---------------
Matt Faus
InfoPath Dev Texas
-
Hi Franck,
Do you happen to have any sample code on how to do this at all? What I'm looking for is the appendChild you mention. I have a rich text box and when user check a checkbox it appends text to the rich text box. I can get it to work find with normal text with the replace statement but can't seem to get it to work with rich text. The ...
-
I am not having much luck here, getting a debug error, says object expected. Thoughts?
-
Thanks I was able to make it work from this.
-
Hi,
I wan't to know if I can with a secondary data source populate the content of my toolbar menu?
Here is my problem:
I have a repeating section in primary DS I want to see in my secondary datasource if one or more mord fields correspond to the ID of my current row!
If it's the case I wan't to put in a toolbar menu the different ...
-
Instead of using a completely different form, you could build a new view into your current form. This will be beneficial in a situation like this because you will have the same set of Customer data for any number of views that you wish to add. To add a new view open the View menu, choose Manage Views, and click on Add a new view in bottom of the ...
-
You're right, Matt.
As some checks and computations are performed before sending email, I define a button where some JScript functions are defined and if all tests are OK, a :
objCommandBars = Application.ActiveWindow.CommandBars;
objSave = objCommandBars.FindControl(1,3);
objSave.Control.Execute();
is done (the XDocument::OnSaveRequest function ...
-
Haha, I ran into this error when I started with InfoPath too, it took so long to figure out what was going on! It happened to me and by the looks of it to Michel because of copying from code examples and tutorials without really knowing what was going on. Anyway, here's further reference for ...
-
I think Patrick was refering to a ''Submit by email'' button. It seems like you are submitting to e-mail manually via code - is this correct? To get where Patrick is talking about
1) Add a button
2) Double-click the button to open the properties
3) Choose Submit from the Action drop-down list
4) Click Define Action Properties
5) Choose the ...
-
I do indeed know that but to avoid problems associated with publishing .xsn's onto IIS servers without WebDav and cross-domain stuff etc. I have got the paths UNC'ed but properties point to the URL. Should any user get access to the UNC then ticking protection is not enough at all.
I want a feature request made to pword protect the forms or ...