-
try setting your form to full trust also sign the form
open the template -> go to tools -: form options -> Security and trust
Set the security level to full trust
also sign the form template
-
what are you trying to achieve by
XPathNavigator(xnFormName = null)
i think you should try
xnFormName= Xndoc.SelectSingleNode("XPATH",this.NamespaceManager);
if (xnFormName == null)
{
//your code
}
-
There is one more thing. When I am using
XPathNavigator(xnFormName = null)
i get this error
Error 1 'XPathNavigator' is a type and cannot be used as an expression.
I have commented the line and the program works, but why the error?
Thank you!
-
Thank you so much Qazi Anis. I did the job!
:-bd
-
XPathNavigator xnFormName = null;
XPathNavigator xnDoc = null;xnDoc = this.MainDataSource.CreateNavigator();
xnFormName = xnDoc.SelectSingleNode("Field_Xpath_Path", this.NamespaceManager);
variable_string= xnFormName.Value;
//To get field xpath -> in design task -> Data source -> right click on the field and click Copy ...
-
Hi
I am triying to create a casscading dropdown feild in my web based form, I used this post: http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html was very useful, but I get this error when I test it in preview:
An unhandled exception has occured in the form's code
System.Security.SecurityException
Request ...
-
Hi. I am trying to save data in a sql database using InforPath 2007 with my own code in Visual studio tools fro applications. I do not know how to connect the field i have on the template (form) with the code. For example in Visua Studio C# you write:
variable_string = txtBoxTex.text.
How do i Write the same in Visual studio tools fro ...
-
Thanks for the answer.
I found another way as follows, just verifying or not the node:
Dim q As XPathNavigator
Dim path as String
path = "/my:Status/my:Questions/my:Questions1"
q = myXPathNavigator.SelectSingleNode(path, Me.NamespaceManager)
If Not q Is Nothing Then
MsgBox(q.ToString)
End If
-
Hi Qazi,
Thanks for providing detail explanation.
Even though you have explained it well, I have still little bit confusion. I had reviewed the condition on the Repeating table. The condition set for this is "field3 != field4". However I can not understand how the field3 which is a "Raw Number" will be updated ...
-
conditional formatting holds for a field on a view, they dont hold across views, so it might be that you removed conditional formatting on a field in one view. you will need to remove conditional formatting per view.