Unique Numbering

J

Jerry Camel

New to InfoPath, so if this is trivial, please be gentle...

I want to create a form that a user fills out to request a job from the
print shop. Once they submit it, I want to stamp it with a unique job
number and send read only copies of the form to the print shop and the user
that submitted it.

Is this pretty straight forward to do? Thanks.

J
 
A

Alex [MSFT]

Jerry,

To make this work, you need to write a simple web service that would
generate such unique job ID numbers. The simplest logic for this web service
would be to read a number from file, increment it, give it to the client,
write the number back to the file. Plug this web service into your form by
going to Tools | Data Connections | Add in InfoPath, and set some value in
your form to the value that you retrieve from the web service.

One note on that web service: be careful with synchronization and do proper
file locking.

Good luck,
Alex @ Microsoft
 
J

Jerry Camel

That will work for the number, but how do I send read only copies of the
form to the users? Is there some flag that I can set that will open the
form is a read only mode or something to that effect?

Thanks for the response.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top