Browse by Tags - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Browse by Tags

  • Switch Views via Code and Rules

    There will be times when you will want to switch views during unsupported events, such as the OnAfterChange event. Due to technical reasons in the underlying platform, InfoPath only allows you to switch views during the OnLoad event and the OnClick event handlers for buttons in the form or on toolbars...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-10-2005
  • Keep Track of List Selections

    At some point it might be necessary to keep track of order of the selections a user makes in a single list box or drop-down list box. You can accomplish this by writing your own code in an OnAfterChange event handler, or you can use rules. In this task we will create a list box and track the order of...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-09-2005
  • Bringing Expressions Out of the Box

    I uncovered this problem on 2004.09.17. I actually noticed it happening several weeks earlier, but didn't have the time then to find out what was going on. I've reported this problem to Microsoft. In order to avoid numerous potential problems, when you copy from one form and paste into another...
    Posted to Greg Collins (Weblog) by Greg Collins on 09-17-2004
  • Use Code to Determine a Rule Condition

    One of the great and power features InfoPath provides is the xdExtension prefix. This feature allows your form to call into your code from areas like conditional formatting. It provides you with greater flexibility in determining the validity of a condition than is available from the InfoPath UI only...
    Posted to Greg Collins (Weblog) by Greg Collins on 09-15-2004
  • Order of Processing at OnClick

    In InfoPath, the order of processing when a user clicks a button is: Rules Code When you write your OnClick event handler, take into account that any rules associated with the button will be processed before the code is reached. This can be very useful, but can also create some headaches if not understood...
    Posted to Greg Collins (Weblog) by Greg Collins on 07-15-2004
  • Identify the Current Table Row

    If you are trying to identify the current table row so that you can make modifications to other field in that row, the safest thing to do is to make those modifications using code. This will be the fastest (performance-wise) solution. You can see how this is done by playing with my example form: Populating...
    Posted to Greg Collins (Weblog) by Greg Collins on 07-08-2004
  • Using Rules to Update Fields in a Table Row

    While working today on my example form, Populating Table Row After Selection (Rules) , I had an epiphany—a possible way of accomplishing this without resorting to manually editing the XSL or using code. The concept was to create a Support secondary data source with a RowPosition node who's...
    Posted to Greg Collins (Weblog) by Greg Collins on 07-06-2004
  • Too Lazy to Switch Views

    STATUS: Fixed in InfoPath 2003 SP1 DESCRIPTION: While working on a project for Microsoft, Patrick Halstead and I were using some complex Open Rules and were having trouble getting things to work right. So, under the pressure of a deadline, we decided to convert them to code in the OnLoad event handler...
    Posted to Greg Collins (Weblog) by Greg Collins on 07-01-2004
  • I Just Can't Keep the Rules!

    STATUS: Potentially fixed in InfoPath 2003 SP2. DESCRIPTION: I uncovered this bug on 2004-02-17 and reported it to my Microsoft contacts. It was at that point unknown to Microsoft. The rules that you defined actually remain in the manifest. The bug is that the xsf:domEventHandlers block goes *POOF*!...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-29-2004
  • Order of Processing at Startup

    In InfoPath SP1, the order of processing at startup of a form is: User Roles Open Rules OnLoad event handler OnSwitchView event handler The User Roles are processed first so that when the Open Rules are evaluated that they can take into account the current role. The Open Rules can be used to change the...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-26-2004
Page 22 of 22 (220 items) « First ... < Previous 18 19 20 21 22
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.