Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6327043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:12:26+00:00 2026-05-24T17:12:26+00:00

My situation: I have a MS CRM 3.0 install that uses MSSQL 2000 SP4

  • 0

My situation: I have a MS CRM 3.0 install that uses MSSQL 2000 SP4 – there are no options for creating auto increment fields inside the entity creation tool. After research I have concluded to do this you need to 1.) use the crm sdk 2.) create a trigger. Currently I do not have the time / means to mess with the sdk so I’m trying to set up a trigger.

I have navigated to MS Enterprise Manager found the table I want to modify, right clicked and selected Manage Triggers. I have also created the INT field via my CRM admin area and queried the DB to set a value for my “AccountNumber” to 10001 (this way my trigger doesn’t have to deal with a null value and can grab this 10001 and + 1 it).

I have tried some code but am unfamiliar with the syntax and the way to grab the previously entered accountnumber and then incrementing it for the record being inserted. (I assume there is an “AFTER INSERT” function?)

Some code examples would be greatly appreciated. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:12:29+00:00Added an answer on May 24, 2026 at 5:12 pm

    MSSQL can do that for you without a trigger. Just define an int/bigint field with IDENTITY(x,y) where x is the initial number (10000) and y is the increment: http://msdn.microsoft.com/en-us/library/aa933196%28v=sql.80%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings! Situation: We have a CRM system that generates unique customer IDs. Now we
Situation I have a client library that uses the Windows Azure AppFabric Service Bus
situation: I have an application that uses separate jsp files for each specific country(I've
Situation: I have an application that uses http connections extensively (stream ripping app) and
Situation: I have an Xcode project based on the Navigation-Based-Application template. So that means
Situation:I have an ASP .NET application that will search through docs using Lucene. I
I have situation where I need to make sure that user has completed certain
Situation: I have many gzipped input files that I want to process in a
Situation I have a few single-responsibility Servlets that take a request, do their job,
Situation:- I have created a installation setup(local) that returns a URL eg:- ved.test.com which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.