-
Hello
Welcome to the Forum!
I'm guessing that you have function msoxd_timesheet_endtime::OnAfterChange(eventObj) but do you have this function for starttime also? Please add an onafterchange function which calls ''updatehoursworked'' and the total hours will change when start time is changed also.
Shanthi
InfoPathDev India
-
In the ''Print Settings'' tab in the view properties window (this can be opened by double clicking on the view in the manage views task pane) select the word print view that you have added. From now when you click on print for that view you will print the word print view.
Shanthi
InfoPathDev India
-
If you open InfoPath In the ''Fill out a Form'' window that comes up do you see your form in the All forms category? Can you select each of the forms and click on Remove this form. If you have the form installed on your machine then you will not be able to remove that form.
Shanthi
InfoPathDev India
-
I'm not sure i fully understand the question. You form has a repeating section in which there are three dropdowns. The dropdown values are autopopulated and when you change the value of one dropdown the value of that that dropdown across all sections is changed?
How are you autopopulating these dropdowns?
Shanthi
InfoPathDev India
-
The Evaluation version of the Forms viewer is out athttp://www.infopathdev.com/downloads/free/default.aspx?i=0b8a2bea00d34ed2be2ac16fdd9232bd
Shanthi
InfoPathDev India
-
The Only way that i can think of is have the template.xml file of OALPrescriptionForm.xsn as a base file and make changes to it as required before you save it as newForm.xml. This way InfoPath will not open, and these new files are InfoPath files and when the user tries to open them they will open using InfoPath
Shanthi
InfoPathDev India
-
You want to print the form via code? Yes this is possible. You can do it using PrintOut().
I do not understand your secondary dom question. Do you mean you want to access the secondary dom in jscript code. Then this can also be done.
Shanthi
InfoPathDev India
-
Hello
You can use the translate function to solve your issue. The line above will look like this
XDocument.DOM.selectSingleNode(''//dfs:myFields/dfs:dataFields/d:ReportInfo/@Login'').text= translate(objWscript.UserName, ''QWERTYUIOPLKJHGFDSAZXCVBNM'', ''qwertyuioplkjhgfdsazxcvbnm'');
Shanthi
InfoPathDev India
-
Add a button to the your form and the following code behind will help you access the Web service adapter and do actiosn with it
var oXml = XDocument.DataObjects[''GetSurveyVersion''];
oXml.DOM.setProperty(''SelectionNamespaces'', 'xmlns:xsi=''http://www.w3.org/2001/XMLSchema-instance'' ...
-
I don't know much about Access but something similar to Identity column in SQL will also work. This way the primary key is autogenerated.
I personally like Guids because they are useful to have in various contexts like for file names if we want to autogenerate file names while saving files. Also in C# it is easy to generate and use ...