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.
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