incremental counter for document number

B

boris

I am using info path as a form solution for one of my clients. The
data source is MS SQL and has a primary field for document number. The
script defaulted to jscript, so I am stuck using jscript for the
scripting language.

I am looking for a solution to increment to the next highest document
number on form submit.

I do have a stored procedure that selects the next highest number, but
have been unable to figure out how to execute the stored procedure and
pass the value to the document number field at submission.

However, the solution need not be based on the stored procedure if
there is another way to accomplish this.

Any help would be greatly appreciated.

Thanks,

Boris Jocoy
 
S

S.Y.M. Wong-A-Ton

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