-
Do I have to publish the form every time I need to test the OnSave behavior since the save button is grayed out when you click preview form
-
Hi! I am trying to query a web service through managed code but somehow get this message that. The web service takes to input parameters namely serachcolumn and searchtext.
System.NullReferenceException
Object reference not set to an instance of an object.
at HLA.HLA.CTRL3_22_OnClick(DocActionEvent e) in c:\hla\formcode.cs:line 60
at ...
-
-
I am not sure where and how to implement the string.ToUpper() function...ar you suggesting to aplly to every node or there a way to apply to all nodes...sample code would help...thanks
-
Hi jeanpaul,
Directly in InfoPath there is no such method, but as you said you can use translate. Other way is write a funtion to convert data to uppercase by using string.ToUpper() function.
Agni
InfoPath Dev India
-
Is there a way to upper case all the input in a form, instead of having to apply the translate function to every field in the form.
-
Hi Thierry,
Here is the code that accesses the secondary datasource.
IXMLDOMDocument2 domSecondaryXML = (IXMLDOMDocument2)thisXDocument.CreateDOM();
domSecondaryXML.async = false;
domSecondaryXML.load(''datasource.xml'');
Now youc an start using domSecondaryXML like any other IXMLDOMDocument2 object.
Agni
InfoPath Dev India
-
Hi wcotech,
As far as I know there is no direct way to change the Master/Detail selection color. May be you can do some investigation by looking into view.xsl files if there is any setting.
Agni
InfoPath Dev India
-
Yes it is possible, you just need to change the command of the dataconnection if you want to change the query with which you getting the data from DB.
Here is how you can change the query of a DB data connection in code
ADOAdapterObject oAdapter = (ADOAdapterObject) thisXDocument.DataAdapters[''DatabaseConnectioName''];
//Here you can write any ...
-
Hi speddi, Welcome to the Forum!
You cannot do the way that you do with asp.net.
If you want a value to be selected by default then you need to set that value directly into the form xml.
Once you set the value to the field that is bound to the dropdown then that value is shown as selected in the UI.
Hope this Helps!
Agni
InfoPath Dev India