Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Tuesday, November 26, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/26/2024 7:26:01 AM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix OLEDB Provider
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Auto-Increment ID not working
John Gundrum
Posts: 632
Auto-Increment ID not working
Posted: 29 Jun 07 9:19 AM
Using 7.0.1. I created a custom table and set the primary key field to auto increment. I am trying to do an insert from the Administrator but I am getting this error.
[6/29/2007 9:12:27 AM] The statement failed and returned the following error: "The statement has been terminated. : Cannot insert the value NULL into column 'C_OPPORTUNITY_HISTORYID', table 'SalesLogix.sysdba.C_OPPORTUNITY_HISTORY'; column does not allow nulls. INSERT fails"
I checked and double checked and auto-increment is checked for this field. I am not specifying the primary field in the INSERT statement.
Based on what I'm reading about the auto-increment ID checkbox, the provider should automatically generate the ID for me. What am I missing?
Thanks,
John G.
[
Reply
][
Quote
]
Bob (RJ)Ledger
Posts: 1103
Re: Auto-Increment ID not working
Posted: 30 Jun 07 8:14 AM
How about posting the actual "insert" code/SQL".
I've had NO problem using Autoinc.
--
rjl
[
Reply
][
Quote
]
John Gundrum
Posts: 632
Re: Auto-Increment ID not working
Posted: 02 Jul 07 6:38 AM
Funny you should ask... This is related back to the whole adding a server role to the sysdba login. I was logged into admin already when the server role was added to sysdba. So it stayed logged in ... but when I tried running the SQL it didn't like it. also didn't like it when I created a DTS package and tried running it from there.
Since removing the server role all is working fine.
Thanks!
John G.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/26/2024 8:25:30 AM