Set PK for Form to not be DocId - InfoPath Dev Sign in | Join | Help in Qdabra Database Accelerator Qdabra Software Product Support (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » Qdabra Software Product Support » Qdabra Database Accelerator » Set PK for Form to not be DocId Set PK for Form to not be DocId Last post 04-03-2013 01:33 PM by RobSil1976. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-02-2013 03:59 PM RobSil1976 Joined on 02-26-2013 Posts 48 Set PK for Form to not be DocId Reply Contact Is it possible to use a DocID for SQL/SP integration that is not the DBXL:DocId field? I have an electronic purchase order that has an already established PK (the PO Number). I'd like to use this as my PK for the form if possible but the instructions in Module #2 - Map Your Form Data into SQL seem pretty specific to use DocId. Is it possible or does it have to be the DocId?Thx,Rob 04-03-2013 05:53 AM In reply to ErnestoM Joined on 08-27-2007 Posts 3,320 Re: Set PK for Form to not be DocId Mark as Not AnswerMark as Answer... Reply Contact As long as you have a unique key, it can be anything. It does not need to be the DocID.The DocID, in fact, does not need to be mapped at all if you have some unique key in your form's data. Hope this helps! Ernesto MachadoQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 04-03-2013 01:33 PM In reply to RobSil1976 Joined on 02-26-2013 Posts 48 Re: Set PK for Form to not be DocId Mark as Not AnswerMark as Answer... Reply Contact Thanks Ernesto, I'll give that a try. :) My form is an electronic purchase order and my Database has a Stored Proc that generates a unique PO number with a string prefix (e.g. PO34421) every time a new form is created so I'll see if I can use that string.R. Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Is it possible to use a DocID for SQL/SP integration that is not the DBXL:DocId field? I have an electronic purchase order that has an already established PK (the PO Number). I'd like to use this as my PK for the form if possible but the instructions in Module #2 - Map Your Form Data into SQL seem pretty specific to use DocId. Is it possible or does it have to be the DocId?
Thx,
Rob
As long as you have a unique key, it can be anything. It does not need to be the DocID.
The DocID, in fact, does not need to be mapped at all if you have some unique key in your form's data.
Hope this helps!
Thanks Ernesto, I'll give that a try. :) My form is an electronic purchase order and my Database has a Stored Proc that generates a unique PO number with a string prefix (e.g. PO34421) every time a new form is created so I'll see if I can use that string.R.