<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Set choice in choice group automatically</title><link>https://www.infopathdev.com:443/forums/thread/15062.aspx</link><pubDate>Tue, 30 Jan 2007 20:09:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15062</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15062</wfw:commentRss><description>The command syntax is correct. All I can think of is to verify that "StringValue_XXXX" is accurate for each.</description></item><item><title>Set choice in choice group automatically</title><link>https://www.infopathdev.com:443/forums/thread/13044.aspx</link><pubDate>Tue, 30 Jan 2007 10:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13044</guid><dc:creator>Mancha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13044</wfw:commentRss><description>Hello all,&lt;br /&gt;&lt;br /&gt;I have 3 choice sections. The sections cannot be changed because I get this from another system.&lt;br /&gt;1. choice group:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;ParameterDefaultValue&amp;gt;&lt;br /&gt;&amp;lt;choice&amp;gt;&lt;br /&gt;&amp;lt;FloatValue/&amp;gt;&lt;br /&gt;&amp;lt;IntegerValue/&amp;gt;&lt;br /&gt;&amp;lt;StringValue/&amp;gt;&lt;br /&gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;&amp;lt;/ParameterDefaultValue&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;	&lt;br /&gt;2. choice group:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;ParameterLowerLimit&amp;gt;&lt;br /&gt;&amp;lt;choice&amp;gt;&lt;br /&gt;&amp;lt;FloatValue/&amp;gt;&lt;br /&gt;&amp;lt;IntegerValue/&amp;gt;&lt;br /&gt;&amp;lt;StringValue/&amp;gt;&lt;br /&gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;&amp;lt;/ParameterLowerLimit&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3. choice group:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;my:ParameterUpperLimit&amp;gt;&lt;br /&gt;&amp;lt;choice&amp;gt;&lt;br /&gt;&amp;lt;FloatValue/&amp;gt;&lt;br /&gt;&amp;lt;IntegerValue/&amp;gt;&lt;br /&gt;&amp;lt;StringValue/&amp;gt;&lt;br /&gt;&amp;lt;/choice&amp;gt;&lt;br /&gt;&amp;lt;/ParameterUpperLimit&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There are 3 buttons "String", "Integer" and "Float". The user clicks a button and the special value of all 3 choice groups has to be shown.&lt;br /&gt;In code I implement following in the "String" button event (the other buttons are similar):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4074");&lt;br /&gt;thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4080");&lt;br /&gt;thisXDocument.View.ExecuteAction("xReplace::replace", "StringValue_4086");&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;It comes an error: &lt;br /&gt;"The specified varXmlToEdit value for the View.ExecuteAction call is not valid."&lt;br /&gt; &lt;br /&gt;How can I set choice in choice group automatically?&lt;br /&gt;Can anybody help me?&lt;br /&gt;Thanks.</description></item></channel></rss>