<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How can I store editable Data?</title><link>https://www.infopathdev.com:443/forums/thread/109149.aspx</link><pubDate>Fri, 13 Jan 2017 11:01:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109149</guid><dc:creator>MrMango</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=109149</wfw:commentRss><description>Hello guys,

I&amp;#39;m doing some kind of a shop in Infopath at the moment. Since i only got a specific quantity of items, i need to set up the quantity for those items and lower it everytime someone buys the item. 
The quantity have to be saved permanently, so when i reopen the form, the quantity isn&amp;#39;t at its starting value. 
Something like this:

Quantity:13 -&amp;gt; Opens Form -&amp;gt; buys item -&amp;gt; Quantity:12 -&amp;gt; closes form -&amp;gt; reopens form -&amp;gt; Quantity still 12


I tried including an Settings file, where the quantity was stored in, but i wasn&amp;#39;t able to edit the value of it. 
I also tried to store the quantity in an excel table, but i wasn&amp;#39;t be able to get it to work. Everytime i wanted to test the form, it crashed. 
Is there any feature, that i don&amp;#39;t know of, that is built-in and i could use? Since i got some basic knowledge in C# I&amp;#39;m neither scared of code. 
Also if you need to know that, it&amp;#39;s going to be used as a browser form. 

Thanks already,

Mango</description></item></channel></rss>