B
babs
I had two tables and everything worked fine. When I added the quotetable the
query is now not updateable- if I get rid of the clienttable in the query it
is fine but I need to grab the Client name from it since it is the only place
it is.See current table design below:
Client Table
ClientId(Primary key)
clientnumber
Clientname
address
city
state
etc.
Ticket Entry Table
ClientId(primary)
Ticket#(primary)
together these two are unique
quoteid
servicedate
comments
truck#
truckhours
(These above table fine in query until added below table)
Quotetable
quoteid(Primary)
todaysdate
Clientid
quotedate
job
etc.
I am sure it is something to do with the relationships. Probably have to
add a new field to ticketentry table (autonumber) for primary key. We like
the clientid and ticket# together as primary since want to full proof data
entry person from possibly duplicating this combinations. Any other way to
set code so these two fields can't have duplicate records(for these two
fields) - or do I even have to change the ticketentry table fields at all so
the query can work and be updateable.
Thanks,
Barb
query is now not updateable- if I get rid of the clienttable in the query it
is fine but I need to grab the Client name from it since it is the only place
it is.See current table design below:
Client Table
ClientId(Primary key)
clientnumber
Clientname
address
city
state
etc.
Ticket Entry Table
ClientId(primary)
Ticket#(primary)
together these two are unique
quoteid
servicedate
comments
truck#
truckhours
(These above table fine in query until added below table)
Quotetable
quoteid(Primary)
todaysdate
Clientid
quotedate
job
etc.
I am sure it is something to do with the relationships. Probably have to
add a new field to ticketentry table (autonumber) for primary key. We like
the clientid and ticket# together as primary since want to full proof data
entry person from possibly duplicating this combinations. Any other way to
set code so these two fields can't have duplicate records(for these two
fields) - or do I even have to change the ticketentry table fields at all so
the query can work and be updateable.
Thanks,
Barb