-
InfoPath relies on some Internet Explorer settings. IE has a setting in the print options that is off by default which determines whether to print background shades and background images. Turn that on, and you'll get it in IP too.
NOTE: This is a per-user setting, meaning that each user will need to turn it on if they care to have the ...
-
You need to first get the text value of the date (forgive me if I write bad VB -- I'm not fluent in it):
Dim dtString as New String
dtString = thisXDocument.DOM.selectSingleNode("/dfs:myFields/my:WeekBeginning").text
Dim dt As New DateTime
dt = DateTime.Parse(dtString) ' Probably want to do some error checking here before you ...
-
I'm not overly familiar with how ActiveX controls interface with InfoPath code (if at all). The control creator could probably give you more detail. There might be some way to interface with them, though I suspect not.
All of the built-in controls are NOT accessible via code. They are all auto-updating, etc. It is my understanding that ...
-
You can certainly use an XPath like:
my:field1 = 'Include'
or
my:field1[. = 'Include']
But you cannot use:
count(my:RepGroup1)
because this is not supported in code. However, you can do a selectNodes and then get the .Count property for the number you want.
-
You will probably need to store the "form state" in a field. You could use text or numerical values (i.e. STATE: 1 = Requestor, 2 = Approver, 3 = Notification).
Then in your open rules (Tools | Form Options), you would look to see what state the form is in, and switch to the appropriate view.
-
Someone else will probably have to jump in and help here.
So far as I know you cannot force a signature programmatically because that would negate the "choice" of the user as to whether or not to sign the form. As I understand it you will not be able to do what you want.
-
You started off okay using "MainDataSource" but then started using "CurrentView". These are not the same thing. The view is what is visually displayed to the user. The MainDataSource is the data that is displayed in the view.
If you are trying to access nodes or values, you should be using a data source (MainDataSource or ...
-
Yeah, kind of weird. But now you know what to keep an eye out for!
-
Here's a response from a member of the Microsoft InfoPath team that I had look into your situation:
[quote]Hi Greg! I have been able to test but have not been able to repro…here is what I tested:
- Created and published an InfoPath 2003 XSN, with a Submit connection, to my MOSS ...
-
You might be able to do this with rules based on "position()" or "count(preceding-sibling::node())"