-
Sorry for being confusing...
All I want to do is be able to populate one field with another fields information. Using the same source data and connection. The formulas I mentioned was the 'Action.' Example:
One database HD NAMES with four columns, first name, last name, Full Name, and email address.
Infopath ...
-
Hi Jimmy,
I tried e.Site.SelectSingleNode("../CHK_VW", NamespaceManager) [+.SetValue("K")] to set the value "K" to the above field. It was giving me a syntax error.
-
Hi -- could you provide a little more info? Maybe attach a copy of your template (look under the Options tab when you reply to find a place to attach a file)? What is the formula you are currently using?
-
Thanks, got it to work.
I used the second link, as it actually had an explanation to go with the code fragment it gives you.
-
I suggest you read these first:http://www.bizsupportonline.net/infopath2007/infopath-2007-frequently-asked-questions-faq.htm#how-to-retrieve-field-value-from-code
http://www.bizsupportonline.net/infopath2007/retrieve-value-infopath-form-field-code.htm
-
Hi Manoj,
You should check to make sure that the data source has a repeating node for the parent group of the file attachment field and that the binding to the table in the view is correct. You can delete the table in your view and drag the repeating parent group over to the view from the data source and it will automatically create a table with ...
-
It works nicely. I will tinker with it regarding the space issue. Thanks a lot ErnestoM!
-
That's the problem, I don't know what code to use.
The field is called "field1" (because I'm original) and belongs to a group called Form_Info. My latest attempt was
this.SaveAs(String.Concat("http://document_library/FILE - ", my:Form_Info/my:field1));
Note: this.SaveAs... is all 1 line, don't know why ...
-
Could we see the code you're using to get the field's value?
-
for the button you need a onclck event -- substitute your button name for button_name
function button_name::OnClick(eventObj)
{
var WshShell = new ActiveXObject("WScript.Shell");
WshShell.SendKeys("^(p)")
}