-
Hi Micky,
I would suggest you write some code to retieve the Email address.
1. Take a DB Data connection from the InfoPath design mode
2. Write an OnAfterChangeEvent for the textbox field.
3. Get reference to the data connection created in step 1.
ADOAdapter2 adoAdapter = (ADOAdapter2)thisXDocument.DataAdapters[''Data Connection ...
-
Hi Soham Bhatt,
Glad to hear you figured it out and thanks for posting your answer here.
-
Infopath 2003 + 2007 behave differently regarding preview and the selected view
-
ok, thats a long post, in short, you want to get data from a row in a repeating table but always end up with data from first row?
Assuming I understood correctly. Infopath uses the first row because it forgets which row you where using. To avoid this create a field outside your repeating table. Change your rules so the first thing it does is ...
-
Of course lista = myList, I made some translation mistakes.
Dim myList As IXMLDOMNodeList
myList = thisXDocument.DOM.selectNodes(''my:myFields/my:test'')
textField.text = myList(1).text
Generally I need a reference to n element of my list.
I would be greatful if you could help.
-
Hello
I need to display the 2nd value of my drop down list.
This displays the FIRST value of my list:
-----------------------------------------
Dim myList As IXMLDOMNode
myList = thisXDocument.DOM.selectSingleNode(''my:myFields/my:test'')
textField.text = myList.text
This also displays the FIRST value of my ...
-
Hi,
I need zu generate several forms from a formtemplate. The formtemplate ist published on a Infopathserver (beta 2 tr). I already managed to load a form template into a XmlFormView and to write some data into the form. But I can't save the form. If I try to use XmlFormView.XmlForm.SaveAs(), I get a ''Method not implicated'' error message.
I ...
-
Hi Travis,
Below three reasons it opens ‘Print view#%92
1. Whenever you run the application in which view you opened in design mode that will open.
2. If you last saved the design mode form is opened in ‘Print view#%92 then also it opens ‘Print view#%92 only.
3. If you set any property like ‘IsDefault#%92 is true for ‘ViewInfos#%92 to ‘Print ...
-
Hi Mash Welcome to the Forums,
In xdocument.UI object, there is method called ''SetSaveAsDialogFileName'' method. This method prefills the filename in the save dialog box's filename area.
This method takes one ''string'' argument that is filename and you can write below the code in ‘OnSaveRequest#%92 function.
var fileName = ...
-
Hi kssaw
Thanks for your reply but this method protects the form template not the submitted filled fields which is what I wish to have read-only.
Thanks again,
Ali.