-
Hi Matt, Just wanted to let you know that this worked out great and I appreciate the help. Using VB.NET as the background scripting language only the syntax changed a little since there was no IXMLDOMNode or IXMLDOMNodeList available to select from. This is what I did (which is almost identical)
DIM HappyFields As DOMNodeList
DIM HappyField As ...
-
Hi Greg,
thanks for your reply. I have tryed this steps:
1 - Application.XDocuments.NewFromSolution(''urn:bravo:Myname'')
2 - Set objNewDoc = Application.XDocuments(1)
3 - objNewDoc.DOM.selectSingleNode(''//field1'').text = ''HELLO''
4 - objNewDoc.Query
Step 1 - work fine and start bravo.xsn
Step 2 - no response, but I suppose it work
Step 3 - ...
-
Hi Su
I feel the links below will be of some help to you.http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=106http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2697http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/office_infopath_using_datasets.asp
Let us know if they help you
Cheers
-
Hi Su,
U r definitely not a pain Su. :)))
But sorry Su,It is not possible to have the rich text box contain formatted text when the form opens, with data from the database being loaded to ur repeating table's rich textboxes.
Only after the data is placed in ur rich textbox,u can manually format it.
Because I dint find any way to pre-format the ...
-
Actualyl I a doing this in a dev environment and have admin right to the site. Plus, I dont want to give everyone admin rights to the list that need to use the form so maybe this wont work for me if admin right are required to update a list.
-
quote:Originally posted by Matt Faus
If the number of pages that you have is variable (and therefore so is the number of headers) you will have to create a repeating section with a page break line and psuedo-header at the top and repeat it.
Hi Matt, This is very interesting, and I thought I'd give your idea a whirl. I've set my top page margin to ...
-
When you call NewFromSolution() it returns you an XDocument object to the form just opened. Use this returned object to select the field in the newly opened form you want to update (just like you normally do in your code) and then set the value.
-
Hi Greg,
thank you for your answer. I have just tryed with NewFromSolution method and it work fine, but I have a problem to pass a string field from alfa.xsn to bravo.xsn. Have you some ideas?
Many thanks. Raoul
-
Look into the NewFromSolution and NewFromSolutionWithData methods.
-
Yah it would help if you had the rights to modify the list.
I just looked at a list I update and in DataView it shows a different ID. Maybe someone else can elaborate why that is but I would extrapolate that to confirm that the ID you are using is incorrect.
Do you have a my site or area where you have admin right to test a list?
Or have an ...