Values dissapear after save - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Values dissapear after save Use our Google Custom Search for best site search results. Values dissapear after save Last post 12-21-2010 04:23 AM by Patrick Halstead. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-11-2010 01:08 PM jappiej Joined on 12-01-2010 Posts 7 Values dissapear after save Reply Contact Hi All, I got something strange going on now....In a browser formular i do some math and it all looks good. When i save the document the fields are getting cirkeld red and i get NaN values...What am i doing wrong ? Thanks in advance 12-13-2010 07:29 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,110 Re: Values dissapear after save Mark as Not AnswerMark as Answer... Reply Contact Probably you have the wrong data type for the value you are generating. Make sure you are using a decimal/double value and it should work. Best of luck! Patrick HalsteadProject Manager at Qdabra 12-18-2010 11:03 AM In reply to jappiej Joined on 12-01-2010 Posts 7 Re: Values dissapear after save Mark as Not AnswerMark as Answer... Reply Contact i checked and double checked it....but the types are on decimal / double the values are chaning when i push the save button when i change the number in the field where the calculatings are on then it's normal again......HELP 12-19-2010 06:06 PM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,110 Re: Values dissapear after save Mark as Not AnswerMark as Answer... Reply Contact Hi again, Are you using a SharePoint List Form or an InfoPath Form Library form? The former will likely convert the values to SQL data types on submit since the SharePoint List Forms do not store XML. The latter, however, should roundtrip the XML data types correctly. Patrick HalsteadProject Manager at Qdabra 12-20-2010 01:12 PM In reply to jappiej Joined on 12-01-2010 Posts 7 Re: Values dissapear after save Mark as Not AnswerMark as Answer... Reply Contact I'm using an Sharepoint List Form. Don't know exactly what you mean by " the latter" but is there a solution for my problem ? Thanks in advance. 12-21-2010 04:23 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,110 Re: Values dissapear after save Mark as Not AnswerMark as Answer... Reply Contact Hey JappieJ! OK, the reason is that the data types aren't roundtripped with list forms. The InfoPath list forms save the data to a table on SharePoint. That table is stored in SQL so the data types must be converted to SQL and then roundtripped. So, you are seeing this problem. If you use an InfoPath Form Library, it will save the data as XML and will roundtrip with 100% fidelity. :) Happy trails! Patrick HalsteadProject Manager at Qdabra Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.
Hi All,
I got something strange going on now....In a browser formular i do some math and it all looks good.
When i save the document the fields are getting cirkeld red and i get NaN values...What am i doing wrong ?
Thanks in advance
Probably you have the wrong data type for the value you are generating. Make sure you are using a decimal/double value and it should work. Best of luck!
i checked and double checked it....but the types are on decimal / double
the values are chaning when i push the save button
when i change the number in the field where the calculatings are on then it's normal again......HELP
Hi again,
Are you using a SharePoint List Form or an InfoPath Form Library form? The former will likely convert the values to SQL data types on submit since the SharePoint List Forms do not store XML. The latter, however, should roundtrip the XML data types correctly.
I'm using an Sharepoint List Form.
Don't know exactly what you mean by " the latter" but is there a solution for my problem ?
Thanks in advance.
Hey JappieJ!
OK, the reason is that the data types aren't roundtripped with list forms. The InfoPath list forms save the data to a table on SharePoint. That table is stored in SQL so the data types must be converted to SQL and then roundtripped. So, you are seeing this problem. If you use an InfoPath Form Library, it will save the data as XML and will roundtrip with 100% fidelity. :)
Happy trails!