Inserting into a database table from Infopath

P

Patrick Temple

So all I want to do is grab a auto-incremented number from my SQL Server
database and then add a new row to the database table so the number gets
incremented.

Then I can use the number as an id for the doc I'm creating and storing in
Sharepoint.

I can create a secondary data source to grab the max(id) number that I want.
I assumed you could modify the SQL query created by data source wizard to do
inserts but I get errors when I try this. Is there another way of calling an
insert to a database in infopath 2003? Can you call an insert to a database
in infopath?
 
P

Patrick temple

Rick,

Thanks, I was able to create a couple of stored procedures to insert a row
and retrieve the Max(id) from the article you listed.

--Patrick
 

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