>After many hours headache trying to figure out a system to incorperate an
>autonumber in a form design without it being linked to any kind of database,
>it would be nice if the Infopath development team would design such a feature
>so that it is part of the software rather than having to try to figure out
>ways around this not being included.
It can't be done with client software. A random number could be
generated on the client but in order to ensure uniqueness the number
must be generated on a server.
Regards,
Steve
--
Please post questions to the newsgroup; everyone benefits.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/cpyright.htm
Dirk - 26 Dec 2004 22:33 GMT
Dear Steve !
As I found out in reading the different questions and on our Microsoft
partner meeting for ISV in Düsseldorf (your Technology promoter Olivier
Hepfner and Dariusz Parys) the autonumber is very important !
To find a form again, it would be very helpful to have a autonumber out of
the box, even with barcode printing.
My idea to do it :
A:) Synchronizied autonumber from on server out of the box with info path
2003x.
1. create a number file on the server
2. put the number in the form
3. add x (+1) on the number and save it back to the file
next time : file exit, take the number +1 and so on...
B:) workstations without connection to server
file creation with network MAC-Adress of the machine
back in the network push the new invoice after time and date of the
workstation to the share point portal server
Maybe a long number ? But it should work and it´s easy
Best wishes