A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Office » General Discussions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Infopath 2007 + SQL 2005 submit issues



 
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2007, 06:36 PM posted to microsoft.public.office.misc
Josh Schwarz
external usenet poster
 
Posts: 1
Default Infopath 2007 + SQL 2005 submit issues

I am designing a Purchase Order form with InfoPath 2007 that will be
submitted to SQL 2005. I set up the tables necessary in SQL and created my
form with those fields. I need a sequential numbering system to act as the
PO number for every form. I decided to use SQL to generate the numbering for
me so I set up the Identity Specifications:
with a primary key that is a tinyint,
identity specifaction- yes
is identity-yes
identiy increment- 1
identity seed-1
not for replication-no

When I go and fill out my form to insert a new record and click submit I
recieve the following error:

"Cannot insert explicit value for identity column in table 'POVenderInfo'
when IDENTITY_INSERT is set to OFF."

I tried to turn in on in SQL and it told me it executed successfully,
however, I retried the form again and it did not work. Is there a setting
that must be changed in InfoPath in order for this to submit properly? If
not, what must be done to fix this problem?

Thanks ahead of time


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.