Field data changes back to Default data when I change views - InfoPath Dev
in

InfoPath Dev

Field data changes back to Default data when I change views

Last post 01-19-2011 03:13 AM by blueben. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-23-2007 08:13 AM

    Field data changes back to Default data when I change views

    I'm making changes to the Expense Report template that comes with Infopath 2007.  The employee department is being filled automatically with Sharepoint User information.

     In the expense items repeating table, I have added a column for the department field, but have defined it as a new field called RC.  RC has the default value set = to the "Department" field.  The user can change the RC to a new number.  After the form is submitted to a Sharepoint site, it is then opened from the Sharepoint site by the manager for approval - the managers form is a different view.  The RC that the user changed has defaulted back to the department number from the employee section, instead of retaining what the user typed in.

    Why is this?  What am I not understanding about default values and Infopath?  It seems like what the user types in should be stored in the field, so it should not be resetting to the default value when the manager opens the form.  Actually, I believe the RC resets to the default value even if the user reopens the form. 

    Thanks!

    Patty
  • 05-23-2007 08:47 AM In reply to

    Re: Field data changes back to Default data when I change views

    Well, I'm going to answer my own question and I feel pretty dumb.  I unchecked the default value box "Update this field....recalculation" and it quit resetting the default value when I opened the field.

    But it also didn't put in an RC default value for the first expense item in the repeating table.  I had to add a rule to the employee "department" field, that if RC was blank to put the "department" in it.

    Patty
  • 01-19-2011 03:13 AM In reply to

    Re: Field data changes back to Default data when I change views

    I've recently had the same problem - I have boxes set up to automatically include a value as default. However if a user updates the field, it defaults back to the original whenever the form is sent to someone else or closed and reopenned.

    In the end I just created a rule to add the default values when another field was changed.

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