I want to make a read-only autonumber field in my form. I knwo there's a lot of infomation out there covering autonumbers in Infopath, but none of it seems to fit my problem. Please help I've been looking for days.
I need a read-only field that autonumbers on Submit. I thought I could do it by querying the SQL DB, and adding 1 to the result, but I have no idea how to modify the query's results. I also know I can set up a custom workflow for an autonumbering sequence, but there's no way IT would let me get ahold of Sharepoint Designer. This field makes up part of my file name, and it also needs to write back to form's SQL table. Hilary Stoupa's article (here) would have been perfect I think, but the code for the sprocs doesn't work - Toad spits back an error saying "Invalid syntax near 'Procedure'" on the first sproc. Any ideas would help greatly, it's the last thing I need to do on this form!