field doesnt update when setting via c# - InfoPath Dev
in

InfoPath Dev

field doesnt update when setting via c#

Last post 11-17-2009 08:32 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-17-2009 06:34 AM

    field doesnt update when setting via c#

    Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

    Hi I have created a form and on changing of a date control I determine the value of another field using c# I then set the value. However the form does not update the value unless you manually switch view or press Update on the form. What is the correct way of forcing the control on the form to update its new value.

    Many Thanks

    Marcus

  • 11-17-2009 08:32 PM In reply to

    Re: field doesnt update when setting via c#

    hi Marcus,

    go to the field which needs to be updated, go to its properties-> value and in that specify your date control(the value you need to be in the field), and make sure you check the checkbox( Update the value when the result of the formula is recalculated)

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.