J
Jason
I am using infopath 2007 to create a Purchase order form that is to be
published to a WSS version 3 site. I would like the user to open up a new
form, have the unique ID displayed on that form, they fill in the rest of the
information, they can then print it and submit the form back to the library.
The problem I am having is assigning a unique PO number to each form
submitted to the sharepoint library. I thought I had it going when I changed
the data binding for the PO text box to point to the PO column in the library
and then assigned the PO textbox to the default value of: "max(.) + 1" I
thought this formula would take the maximum PO number and increment it by 1.
Then when the user opens up the form, it should run the formula and give me
the next PO number.
When I publish the form and try it out, infopath opens with "NaN in the PO
text box which means invalid data.
Does anyone have any tips on a way to get this working? From a different
posting, someone suggested to create a webservice to write to a text file and
to increment the unique ID, but I do not have a clue on how to that.... I
think I'm on the right track but I am missing something obvious, Any help
would be very very appreciated!
published to a WSS version 3 site. I would like the user to open up a new
form, have the unique ID displayed on that form, they fill in the rest of the
information, they can then print it and submit the form back to the library.
The problem I am having is assigning a unique PO number to each form
submitted to the sharepoint library. I thought I had it going when I changed
the data binding for the PO text box to point to the PO column in the library
and then assigned the PO textbox to the default value of: "max(.) + 1" I
thought this formula would take the maximum PO number and increment it by 1.
Then when the user opens up the form, it should run the formula and give me
the next PO number.
When I publish the form and try it out, infopath opens with "NaN in the PO
text box which means invalid data.
Does anyone have any tips on a way to get this working? From a different
posting, someone suggested to create a webservice to write to a text file and
to increment the unique ID, but I do not have a clue on how to that.... I
think I'm on the right track but I am missing something obvious, Any help
would be very very appreciated!