Help with new database

Weekleyba

Registered User.
Local time
Yesterday, 18:08
Joined
Oct 10, 2013
Messages
593
Attached is a smaller version of my project database. This is my first database and I'm sure there is hundred things wrong with it but, please bare with me and my 1 year experience with Access.

When you open the db, and want to enter a new record (or new project), I push the 'New (BLANK) Record' button. I then enter data in the General page, then Design Page, etc.
'Brad's Project Number' is field that links the main form to the subform, so you need to enter a number in this field in the General page.
The problem I have is when you tab to the Design page and enter data and then tab to the Construcion tab. I get the 'Index or primary key cannot contain a Null value'.
If I delete the primary key in the tblDesign, then I get the
'Cannot add record(s); join key of table 'tblDesign' not in recordset' error.

Any ideas on how to fix this?
It's probably how I've set this up with subforms but, don't know.

Any help would be most appreciated.
 

Attachments

You need to place the 'Brad's Project Number' control/field in the main form and type in the value there!
Don't use space, ' and : in field name, it can give you problem.
 
Thanks for the nice input.It's good to be part of this community.
 
Thanks JHB!
It works perfectly.
Sorry for the late response. I was out camping with my boys.
 

Users who are viewing this thread

Back
Top Bottom