I'm fairly new to access but have a little bit of database experience in the past. Basically I have two tables.
Job table (includes job number, title etc.)
Client table (includes name, address, details etc)
A job can only have one client so it is a one to many relationship. However sometimes we do internal jobs that do not have clients. The key I'm using to relate the two tables is called "Client Code" which is a short text field.
My company insists that we must be able to have no entry into the client code in the jobs databse. My question is this.
When I've created a form (for entering new jobs etc) that displays job and client information the form's query statement links the two tables and ignores all records that have no entry for client code. I understand why this is happening because the relationship is being enforced. It also will not let me enter a record without including the client code. But I need the form to display all job records, including those with no client. If there is no client info I obvioulsy just want the client fields blank.
Can anyone give me some help.
Much appreciated.
Chris.
Job table (includes job number, title etc.)
Client table (includes name, address, details etc)
A job can only have one client so it is a one to many relationship. However sometimes we do internal jobs that do not have clients. The key I'm using to relate the two tables is called "Client Code" which is a short text field.
My company insists that we must be able to have no entry into the client code in the jobs databse. My question is this.
When I've created a form (for entering new jobs etc) that displays job and client information the form's query statement links the two tables and ignores all records that have no entry for client code. I understand why this is happening because the relationship is being enforced. It also will not let me enter a record without including the client code. But I need the form to display all job records, including those with no client. If there is no client info I obvioulsy just want the client fields blank.
Can anyone give me some help.
Much appreciated.
Chris.