-
Not sure of the answer. Maybe because it isn't roundtripped by the designer? You have to be careful modifying the XSL by hand. Some stuff won't be roundtripped unless you use a Preserve Code Block (PCB). In general, PCBs are carcinogenic and I highly discourage you from using them, but sometimes you just gotta go Full Trust and sometimes you just ...
-
Interesting solution. You should be able to use Orca or something to disassemble the MSI that regform creates to find out what it is doing to make the form FT.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Erwin,
I sent you PDF files for the article. I hope they were helpful.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Richard,
I don't think so. You'll want to download the SDK and check the object model, but my guess is no.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Devi,
Did this work?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Matt...I just ran into this same situation. Did you find an easier solution? I have some dropdowns I am filling in from some data sources where the first item is blank but there is a value like ''00'' for blank. Right now I have two blanks in the combo and I want to default to ''00'' but I do not want to see two blanks in the dropdown.
-
You probably need to remove the xsi:nil attribute. I use this helper function:
IXMLDOMNode nNextAction = thisXDocument.DOM.selectSingleNode(''my:myFields/my:NextAction'');
removeNil(nNextAction).text = ''blah'';
public IXMLDOMNode removeNil(IXMLDOMNode n)
{
//Determine whether the xsi:nil attribute is set for this
//element. If so, remove the ...
-
How can I change the value of a text box within my document?
When I do the following:
IXMLDOMNode nNextAction = thisXDocument.DOM.selectSingleNode(''my:myFields/my:NextAction'');
nNextAction.text = ''blah'';
then the value does not stay changed when the document is stored/submitted.
When I do:
nNextAction.nodeValue = ''Review'';
then I get ...
-
Thanks for the encouragement, Pich! Good luck in all future developments, let us know of any spectacular discoveries, and if you have any questions!
---------------
Matt Faus
InfoPath Dev Texas
-
It seems something is wrong with your CAML - could you post the code that generates this error please?
---------------
Matt Faus
InfoPath Dev Texas