Hi all,
I have a data connection set up that queries a Sharepoint form library and returns the ID field.
In Infopath, I have set up a field to contain max(@ID) +1
This worked fine until I reached ID 190, now this is the only ID that the data connection returns.
The form uses this field as the file name.
This means all new forms created have a filename of 191.
I have checked the list, and there are definitely 191 entries. The latest ID was 191.
I then tried uploading a document to take the place of 192.
It is in the list, but Infopath still says Max(@ID) +1 results in 191.
Any ideas why the data connection is failing?
Oh, I have created a different form, just for the purpose of testing the data connection, and the new form also picks up 190 as the highest ID in the list.