-
What code are you using to read an element and/or attribute? It could be the method you are using is incorrect.
-
Glad you could figure it out so quickly, Gary!
-
#1 - Expression boxes are not storable values. They are only for display. If you want to store a value you must use a text box. You can create a default value formula in your text box to have the same calculation as your expression box.
#2 - InfoPath 2007 provides a drop-down control that allows users to type in values not present in the list. If ...
-
Hm, I really don't think you will be able to do this. You can attach to the object model of the opened form, so I would suggest making an ''invisible trigger field'' with an OnAfterChange event attached to it. Then, from the calling form, change the value of this field (via the object model). This should trigger the OnAfterChange, and then you ...
-
Here's what I do to debug forms in IP.
1. Make sure you are in Debug build mode.
2. Close any open ''previews'' of the form. (I don't think this is absolutely necessary)
3. Open the Solution Explorer
4. Click on the Form Project icon (two ''folders'' above FormCode.cs)
5. Press F5
This will open a preview of the form and start the FormCode.cs in ...
-
Glad to have been of help!
-
Again, the key here is to do something similar outside of a preserve code block first and then look at the resulting XSL. It will show you exactly the kinds of structures you need in order to call from primary to secondary and back. Then you can manually work the code in the preserve code block to match.
-
I believe that Stavi is correct. If you want multiple top level tables, you'll need to write a Web service to do that. The database connector in InfoPath just won't let you do that so far as I've been able to figure out.
-
I'm glad to hear you got it working. Yes, as I understand it, if you want to use VS2005, you must have .NET 2 installed.
-
Its the mysteries of programming. Why something doesn't work until you try to show someone, or works one time and not another.
There's probably a valid reason for it, but alas, I have not further insights for you on this.
I'm glad its working now!