ACCESS frontEnd SQL BackEnd key field


We have an Access DB that we recently uploaded the tables to SQL Server and we are still using the ACCESS frontend so we are linked to the tables.  I am trying to figure out why the ID field is not populating when a new record is created?

the ID field is the Key field.  In access we still show it to be Field Size: Replication ID and Required.

what am I missing?
Ernest GroggSecurity Management InfoSecAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
When switching to SQL Server as back-end, there are some important changes.

One of them is: an auto-increment value is no longer available before you save a row. Cause SQL Server can assign it only on the real INSERT action.

See Armen's presentation: The Best of Both Worlds: Access-SQL Server Optimization
Ernest GroggSecurity Management InfoSecAuthor Commented:
So what we are saying is that we have to save the record and then pull it after the .update/.add (saverecord) action?
ste5anSenior DeveloperCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get a highly available system for cyber protection

The Acronis SDI Appliance is a new plug-n-play solution with pre-configured Acronis Software-Defined Infrastructure software that gives service providers and enterprises ready access to a fault-tolerant system, which combines universal storage and high-performance virtualization.

Ernest GroggSecurity Management InfoSecAuthor Commented:
great.  I am going to try a few things to see if I can pull the data and then insert it.
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
<<Replication ID>>

 Just as an FYI....did you (or do you still have) replication turned on?    ReplicationID is not a great data type for a PK if your not doing replication as it's a GUID (16 bytes long).

Ernest GroggSecurity Management InfoSecAuthor Commented:
Sorry for not replying...I did have ReplicationID turned on.  I had to turn that off and then change it in SQL to int

got it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.