Delete command creashes InfoPath - InfoPath Dev
in

InfoPath Dev

Delete command creashes InfoPath

Last post 04-20-2011 09:23 AM by Jimmy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-19-2011 05:21 PM

    • Hootan
    • Not Ranked
    • Joined on 04-04-2011
    • Posts 3

    Delete command creashes InfoPath

    I would like to delete a repeating section when a  Person/Group picker control changes within the form. To do this, I added a text field element. I then changed the default value of the text field to the DisplayName of the Person/Group picker field. Next, I added a rule to the text field so that once it changes, the repeating section is deleted. This causes the InfoPath form to crash.

     Running the same rule from a button will not cause the same issue, so this eliminates the fact that there is a problem with my rule or delete command.

  • 04-20-2011 04:29 AM In reply to

    Re: Delete command creashes InfoPath

    The problem is probably in the rule. Could the rule be leading to an infinite loop? Once the repeating section is deleted, running the command a second time might lead to information in the Error node of the qRules 2ds. Make sure to display this node in the view to see if any additional clues are displayed.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 04-20-2011 09:08 AM In reply to

    • Hootan
    • Not Ranked
    • Joined on 04-04-2011
    • Posts 3

    Re: Delete command creashes InfoPath

     As I mentioned, the problem can't be with the rule. When I associate the rule to fire when a button is clicked, the rule runs fine. I have the error node on the page. The issue is that the InfoPath form crashes, meaning that it will force me to either close the form or to debug it. If you create the simple form which I have described, you will see the behavior.

  • 04-20-2011 09:23 AM In reply to

    Re: Delete command creashes InfoPath

    Hello Hootan,

    Could you send a simple form that reproduces this behavior to our support e-mail alias "support at qdabra dot com"?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.