Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running Infopath 2010 in windows 7. But I'm saving in the format "Infopath 2007 filler form" in order to publish to our sharepoint 2007. I'm trying to create an auto numbering system on a document library.

In order to do this I use a form submit rule to set project_num to the maximum value of project_num in my document library plus one. This works sometimes. When it doesn't work, the "max(@product num)" function returns the project_num value of a seemingly arbitrary document(102, out of 129). When I deleted this document, I got back a value of 103.

So I created a new form, set up a new rule on a 2010 form and got the right result. But when I save it as a 2007 form and fix up the data connections, I get 103 back.

All items in the library have the project_num field are filled in. I tried migrating the document library by saving it as a template in sharepoint. But the new library produces the same results.

share|improve this question
    
I've resolved the problem by changing the item limit in the default library view in sharepoint from 100 to 2147483647 –  Andrew Oct 20 '11 at 13:59
add comment

1 Answer

up vote 0 down vote accepted

I've resolved the problem by changing the item limit in the default library view in sharepoint from 100 to 2147483647

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.