I need to store and retrieve a single value each time an InfoPath Form is opened. The value is the next number to be utilized for a purchase Order. My first thought was to save a dummy InfoPath form in addition to the real form with a consistent name and rewrite the value to be utilized. I tried making a data connection to an existing InfoPath XML form that was submitted, but the data connection always fails and gives me an error upon launching the form.
My environment is locked down and we cannot add code to InfoPath forms, so using any C# or VB code is out of the question.
Is there a way to write a Value to an XML file or to a SharePoint List WITHOUT USING CODE?