-
Hello Stacie,
I'm using the concat() formula in the second action of the Set Values rule on the button (see attached image).
If all of the requisite values are already in your main data source, there isn't even any need to create a secondary data source to hold them. You can just set up the concat() formula to pull the ...
-
I have responded to g21cincy's question in:
http://www.infopathdev.com/forums/p/14724/52364.aspx#52364
-
It's possible to do this without code, but it would require that these first and last names be in a repeating group instead of 10 separate fields. Is there a reason you're not using a repeating group for this?
-
Found the correct code for the flname = statement:
flname = MainDataSource.CreateNavigator().SelectSingleNode("/dfs:myFields/dfs:dataFields/d:TimeTable/@ID", NamespaceManager).Value
Thanks to anyone who was looking at this for me.
-
Found the correct code for the flname = statement:
flname = MainDataSource.CreateNavigator().SelectSingleNode("/dfs:myFields/dfs:dataFields/d:TimeTable/@ID", NamespaceManager).Value
Thanks to anyone who was looking at this for me.
-
Hilary,
Your code was exactly right. I replaced it, and it worked great.
Thanks,
You're Awesome!
My bulldog says the same.
-Lawson
-
Hi:
Here is a link to MSDN documentation on joining strings in a string array with specified separator (String.Join method). Then, instead of using WriteAllLines, you could use the File.WriteAllText method?
So maybe something like:
string [] lines = { A1, B1, C1};
string allLines = String.Join(",", lines, 0, ...
-
I have an InfoPath form with three textboxes, one attachment, and one button. When an attachment is added and the button is pressed, a csv file is created with the contents of the textboxes and saved to a specified folder. My problem is with the csv file. I need a file that separates the contents of the text boxes by commas, but I get a csv file ...
-
Hello, I want to add custom code (VB) to my Access database connected form which will generate a filename and path when the user clicks Save.
I've added the following code to the save behaviour but I'm having trouble figuring out the syntax to pull data out of fields on the form.
This is my code:
Public Sub FormEvents_Save(ByVal sender ...
-
Hey Jimmy,
Have a couple more questions for you.
"I'm using a rule on the button that utilizes the concat() formula to build the XML to submit using the values in the ProjectsDom data source. That full formula looks like this:"
I looked at the rules in your button and don't see where you added the concat() ...