Access 2007 subform not linking to parent with SQL Server Backend

Access 2007
SQL Server 2008

I have just finished linking all my Access 2007 front-ends to SQL Server 2008 databases.  I used DNS-less connections and the SQL Server driver.  Everything seems fine except in several front-ends I have a forms with a datasheet subforms ... and they are not linkling to the parent!?

The table for the parent form has a unique primary key "ORDERID" (int, Identity = yes, no nulls, clustered index) and the subform query has the same field ORDERID (int, Identity = no, nulls allowed, non-clustered index).  On the subform properties I have the Master/Child fields set to ORDERID.

If the record on the parent that is displayed already has records that match in both tables, then the subform is accessable, but if I am entering a new record, I can only enter data into the parent form and the subform remains disabled.

Can anyone tell me why?  With an Access backend, it works fine, but not with SQL Server backend.

Very important I find a solution ASAP! ... help!

Max
LVL 1
MaxwellTurnerAsked:
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.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
What are you using as the Subform's Recordsource? Is it a table, or a query/view?

Views in SQL Server are (for the most part) not updateable.

0

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
MaxwellTurnerAuthor Commented:
Thanks LSM!  Wow this whole migration to SQL backend has been full of headaches, but one issue at a time!  Yes, I was using a query for the subforms ... works great now that I have changed it to the tables.

Max
0
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I feel your pain :)

Here's a very good writeup on some of "best practices" when moving to SQL Server from Access:

http://www.jstreettech.com/files/Best-of-Both-Worlds.zip

Also review some of the stuff from FMS:

http://www.fmsinc.com/tpapers/index.html#SQLPapers
0
MaxwellTurnerAuthor Commented:
Thanks LSM!
0
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
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.