-
The MSDN docs say about PrintOut:
The PrintOut method uses the current printer settings
So, that's out. It looks like the XmlForm.Print method also uses the current printer settings, so I don't think switching to 2007 would make a difference here. It may be changing the default printer is the only path for this.
-
Does MS Access have Stored Procedures? If so, you could write one that takes the Record ID as a parameter, then create a secondary (receive) data connection in your form to the stored procedure. You can then, in code, modify the command for the secondary data source to pass in your parameter. Here are a couple blog posts that may help ...
-
Well, not quite. You see, you are still using the full xpath, which takes you back to the first item. So instead of this:
valueField1 += xn.SelectSingleNode("/my:myFields/my:myGroup/my:Field1", NamespaceManager).Value + "\n";
You'd want this:
valueField1 += xn.SelectSingleNode("../my:Field1", ...
-
You are selecting the first row when you use:
mds.SelectSingleNode("/my:myFields/my:myGroup/my:Field1", NamespaceManager).Value
for example. Instead, you could use:
xn.SelectSingleNode("../my:Field1", NamespaceManager).Value
to get the value of Field1 for the same Group instance as the Field4 that is 'True'.
-
Hi:
Does the button have code on it to do this? Can you post your code?
-
Hi --
You'll have to remove the xsi:nil attribute from 'personPicField' when you set its value. Here's a great blog post from the InfoPath Team with code samples.
-
I'm having a hard time understanding, I'm afraid. Could we maybe move the conversation a level higher and talk about the business logic? That is -- you currently have data in SharePoint. You are using InfoPath to.... what? As an order form of some kind? And then the user exports each filled out form to Excel....to load into another ...
-
Hi -- not to ask the obvious, but is Adobe reader installed on your Citrix server?
-
Nope, I did not get it. Not in my junk, either! Try again? Did you get the initial email I sent you through the forum?
-
It has a copy table function that I wish I'd had when I was first working with InfoPath and didn't write code, that's for sure. And no, what you are doing doesn't sound crazy -- but when I looked at your sample I thought "huh", since your sample showed all the same fields. Made me curious.
The problem you may have with ...