-
Hello,
Here is the change in your SQL statement,
select TOP 5 * from [TABLE] where [FIELD1]='{0}' and [FIELD2]='{1}' order by [YEAR] DESC, [MONTH] DESC";
-
Hello,
In your code you can use the below statement before starting the calculations and end with another statement.
//Disable for auto update view
XDocument.View.DisableAutoUpdate();
Here is your onload code.
//Enable for auto update view
XDocument.View.EnableAutoUpdate();
Try to reduce unncessary code in onload.
-
Hello,
If we set the dropdown value dynamically using your code it will get added to dropdown list but if you select any other option then newly added option will be disapeared.
You have add the secondary xml for dropdown values. If you adding this secondary xml we can add one more option to that secondary xml using code. If we update the ...
-
Hello,
We can extract it in different files, default values we will get form template.xml file. Rules we can get the logic from manifest.xsf file and conditional formatting from view1.xsl file.
You will get source files follow these steps,
1. Open the form in design mode.
2. File -> Save as resource files to store the resource files in one ...
-
Hello,
No need to declare 'eventObj' object is 'e'. You have to use whichever generated object name in JScript and that is 'eventObj' in your code.
-
Hello,
What is the data type of your radio button? How do you want to copy the data using Rule or Code?
Can you give more detail on your question?
-
Hello,
Are you opening form is browser enabled?
Can you clear the InfoPath cache in your desktop once before open the existing form from SharePoint. Are you able to open any other InfoPath form in your desktop?
-
Hello,
It requires installing MS Office 12 to open new InfoPath form using code.
-
Hello,
In Swathi code, e is equal to ‘eventObj' in your code. You have to replace ‘eventObj' in the place of ‘e' in above code.
Here is the code,
function msoxd_my_group2::OnAfterChange(eventObj)
{
if(eventObj.NewValue != eventObj.OldValue && eventObj.OldValue != ...
-
Hello,
We can do filter those using InfoPath filter condition and using code we can remove extra nodes. If we are doing in InfoPath filter condition or code also it will impact on performance. After getting the all rows we are filtering or removing means it takes unnecessarily time being this kind of operation.
My suggestion while getting the ...