Purchase Order Template - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Purchase Order Template

Last post 03-22-2006 12:16 PM by ncjks. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-20-2006 08:23 AM

    • ncjks
    • Not Ranked
    • Joined on 03-08-2006
    • Posts 14

    Purchase Order Template

    How do I get the Item Number to increment when I add new rows to my table?

    JK
  • 03-20-2006 10:32 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Purchase Order Template

    Hi ncjks,

    1. Double click on “Item Number” text field.
    2. Click on “fx” button in Default Value region.
    3. Click on “Insert Function” button in “Insert Formula” window
    4. Select “All” Category and select “position” function in “Insert Function” window.
    5. Click on O.K 3 times.

    When ever you add a new row then it will automatically increment the Item Number
  • 03-20-2006 11:35 AM In reply to

    • ncjks
    • Not Ranked
    • Joined on 03-08-2006
    • Posts 14

    Re: Purchase Order Template

    Position() is not working.

    THis is the item number text field in the puschase order template. Everytime I add a new item, the item nuber is repeated as "1"

    JK

  • 03-20-2006 01:16 PM In reply to

    Re: Purchase Order Template

    You can use one of the two forms below. Check out the MSDN blog for more detail explanation.

    count(parent::*/preceding-sibling::*) + 1 - assuming all nodes in the parent nodeset are of the same type, otherwise:

    count(parent::*/preceding-sibling::<type>) + 1 where <type> is the type of the parent node



    http://blogs.msdn.com/asanto/archive/2004/09/08/226663.aspx
    Stephanie Cantwell / Test Manager
    Qdabra® Software / Streamline data gathering to turn process into knowledge

  • 03-21-2006 07:43 AM In reply to

    Re: Purchase Order Template

    Hi ncjks,
    Check this tutorial in InfoPathDev
    http://www.infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127


    Regards,
    Abhishek
  • 03-22-2006 12:16 PM In reply to

    • ncjks
    • Not Ranked
    • Joined on 03-08-2006
    • Posts 14

    Re: Purchase Order Template

    I see this working on a simple form but not in the structure I coped from the purchase order template.

    All I ever get is a "1"

    JK
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.