Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access 2000 - Access 2003 - Access 2007 - SQL server 2008

Posted on 2011-09-13
5
Medium Priority
?
483 Views
Last Modified: 2012-05-12
Hi,

I have been given an access 2000 fornt end application and trying to connect forms to the sql server 2008.

I can only open application in Access 2003 or 2007.

I have a form which has many subforms. The form also has lots of comboboxes which collect information about lets say a Traveler. SubForm hold information about different countries and places to stay, visit,.....

The relationship between the tables are lets say 1:M. A traveler can be in many destinations.
The form contain info about Traveler and subform about destinations.
I can populate traveler info:
I enter traveler's Club_number and as soon as the last field populates, when I press tab, it adds traveler's info to the database:

Traveler_ID (identity clumn and primary key)     club_number    age
1                                                                     23456789       34

Then I see the message: The record is added to the database but it cannot be displayed because of the issue:
“This error can occur if the data you are attempting to save is saving to a Microsoft SQL Server 7.0 or earlier database and the RecordSource for the subform is using an SQL select statement with fields pulled directly from the source table, and the table is using an Identity field set as its primary key.

To avoid this problem set the RecordSource property of the subform to a table or a query.

-Or-

Upgrade to a newer version of Microsoft SQL Server.”

Infact form should return/display the data that Ijust added to the traveler table.

The form has query: Select *  from Traveler
The subform has: link mask field: traveler_id
subform query: select * from destinations.

any idea how can this be solved?


Many Thanks in advance

0
Comment
Question by:shmz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 21
ID: 36533831
Upgrade to Access 2003 or later.
0
 
LVL 10

Accepted Solution

by:
plummet earned 2000 total points
ID: 36534510
I've never seen this problem, but you could try doing what it suggests - set up a query to use as the recordsource for the subform that simply does "select * from destinations". I wish you luck!
0
 

Author Comment

by:shmz
ID: 36535592
Plummet, that is what it currently does.

I have seen on th internet that it may be related to Access 2003, and I am not sure if I use Access 2000,it will work with swl 2008....
0
 
LVL 21
ID: 36537612
I have seen lots of issues with Access 2000 and SQL Server 2008/R2.  I find that Access 2000 is just to old to handle the newer versions of SQL Server.

FWIW:
I have found it best to use a newer version of Access than the version of SQL Server to insure comparability. With Access 2003 I only use up to SQL Server 2005.

Boyd Trimmell aka HiTechCoach
Microsoft MVP - Access Expert
0
 

Author Closing Comment

by:shmz
ID: 36540423
Thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question