Infopath value problem - InfoPath Dev
in

InfoPath Dev

Infopath value problem

Last post 02-10-2010 03:55 AM by Shifthappenz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-10-2010 01:19 AM

    Infopath value problem

    Hi, when testing my repeatable table I've encountered a problem thats very annoying.

    This is the setup:

     

    categorie | product | productnumber | price | amount | price total | orderstatus

        DD      |    DD    |          TB            |  TB   |    TB     |     TB       |        CB

     

    * DD = Drop down
    * TB = Textbox
    * CH = Checkbox

     after you choose a categorie you select a product, when the product is selected the productnumber and price are automaticly inserted with rules i applied on the product DD

    these rules are:

    Productnumber: set value of a field (=productnumber TB) -->  then I go and select the productnumber out of the sharePoint list (secondary source and apply a filter to that, with the value: product (SharePoint list) =  product (DD)

    Price: set value of a field (=price TB) -->  then I go and select the price out of the sharePoint list (secondary source) and apply a filter to that, with the value: product (SharePoint list) =  product (DD)

    now for the PROBLEM:

    this works great but the flaw is, for example when i choose the first product in the list (after i choosed the categorie) when i insert another row, and choose for another product, like the second or third the price and productnummer still are the valeues of the first product in the list.

    when i start from the last product in the DD the values do change when i go from last to first, but when going from first to last it only takes the first values of the DD item in the price and productnumber TB's

    what am I forgetting to do? or what am I doing wrong?

    thank you in advance!

    greetings Kevin

     

    ___________________________________

    Information Worker SharePoint
  • 02-10-2010 03:30 AM In reply to

    instead of using rules try setting the default value of these text_boxes and remember to check "Update the value when the value of this field is recalculated"

     

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 02-10-2010 03:55 AM In reply to

     that did it for me :-) many thanks

     greetings kevin

    ___________________________________

    Information Worker SharePoint
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.