I would like to have the same function in InfoPath. I created an issue
tracking form and I would like to have an autonumber generated for the ID
field in this form. I am not using MS Access to store all the data entered in
this form, instead, this form will be published to Sharepoint and users will
be entering data from there. How can I assign the next sequential number to
my ID form everytime when the form is loaded?
Please help.
> Absolutely.
>
[quoted text clipped - 6 lines]
>
> NK
You need to set up a web service somewhere to generate these unique ID's.
The logic for that web service should be very simple: open some text file,
read off the number from it, give it to the client, increment the number,
write back to the file. Be careful with synchronization and locking, though.
Add that web service as a data connection to your InfoPath form.
Good luck,
Alex @ Microsoft
>I would like to have the same function in InfoPath. I created an issue
> tracking form and I would like to have an autonumber generated for the ID
[quoted text clipped - 18 lines]
>>
>> NK
Spaniard - 12 Aug 2007 16:24 GMT
So I understand the concept behind this Alex, but since I am a newby, steps
would be very helpful. Steps creating the code to do this, where to put the
code, or the text file, etc etc.
If someone can please take the time to show this step by step, that would be
most helpful!
Thanks.
> You need to set up a web service somewhere to generate these unique ID's.
> The logic for that web service should be very simple: open some text file,
[quoted text clipped - 5 lines]
> Good luck,
> Alex @ Microsoft