Too right..
There is some funny stuff going on with the SITEKEYS table, but I cant see any corresponding relationship between that and the Lead's ID column entries.
If anyone has a example, I'd really appreciate it..
Main Topics
Browse All TopicsI'm trying to obtain the next available ID in a table, for example, the ACCOUNT table entries need a system generated ACCOUNTID to use when inserting a record.
This is not an incremented index, it is generated by saleslogix somehow.
I am hoping there is a sql function, SP or at worse a dll I can draw upon..
Can Anyone shed some light?
These are the references that did not help:
http://crm.ittoolbox.com/g
http://www.slxdeveloper.co
I am using Visual Studio C# DOTNET with MS SQL server 2000 as the db running SLX 6.2.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
ok, last nights effort consisted of using this apparently 'working' stored procedure to allocate the next available for an appropriate table.
http://crm.ittoolbox.com/g
Now I just need to correctly reference it from vs c#..
Working through this how to:
http://support.microsoft.c
Business Accounts
Answer for Membership
by: rrjegan17Posted on 2009-08-15 at 10:28:11ID: 25106153
>> it is generated by saleslogix somehow.
en-us/libr ary/ aa2606 56(SQL.80) .aspx
Since Saleslogix has the logic to create a unique ACCOUNTID what's the need for another.
>> I am hoping there is a sql function, SP or at worse a dll I can draw upon..
Since you are using MS SQL server 2000, why can't you make ACCOUNTID column as an IDENTITY.
No need to compicate it with SP or Function..
If your logic doesn't needs to be of incremental value, then you can make it as an uniqueidentifier datatype..
http://msdn.microsoft.com/
Hope this helps..