i have created an infopath which have one request no. field and it will auto increment when click on add new item on sharepoint Document library
field contains (highest value of column request no. +1 ) when infopath will open in browser.
What i have done on this:i have create new data connection on sharepoint library and then pick document library then choose ID field and insert function in the field max(ID)+1.
View Complete Post