Q
quaddawg via AccessMonster.com
I cannot add a record through query datasheet view or a form. Here's the
setup:
I have two tables linked to a frontend. The relationship between the tables
is defined in the backend as one to many; referential integrity, cascade
update, and cascade delete checked. The tables are related by StudentID
field which is type autonumber in tblStudent and Number in tblTests.
TblTests has an autonumber primary key field TestID.
This design did not seem to cause me trouble in the past, but since I've
overhauled some things I'm having trouble. In the datasheet view of a simple
query having fields tblStudents.StudentID, tblStudents.LastName, tblTests.
TestID, tblTests.TestDate, if I try to add a new record (last name) , the
autonumber field generates a number for StudentID, but I can't enter a test
date and no autonumber is generated for TestID. On a form using this query,
I cannot add anything in any field belonging to tblTests.
Any ideas why I cannot create a new test record?
setup:
I have two tables linked to a frontend. The relationship between the tables
is defined in the backend as one to many; referential integrity, cascade
update, and cascade delete checked. The tables are related by StudentID
field which is type autonumber in tblStudent and Number in tblTests.
TblTests has an autonumber primary key field TestID.
This design did not seem to cause me trouble in the past, but since I've
overhauled some things I'm having trouble. In the datasheet view of a simple
query having fields tblStudents.StudentID, tblStudents.LastName, tblTests.
TestID, tblTests.TestDate, if I try to add a new record (last name) , the
autonumber field generates a number for StudentID, but I can't enter a test
date and no autonumber is generated for TestID. On a form using this query,
I cannot add anything in any field belonging to tblTests.
Any ideas why I cannot create a new test record?