B
BillA
Using existing data derived from excel, I've built an access db with the
following tables:
client
projects
comments
Each table is linked with an "intermediary" table, with the Project table in
the middle. This has given me a ‘many-to-many’ relationship to each folder.
The ‘link’ tables contain a PK [auto#], and a field for each of the linked
tables primary-keys (which are auto# fields within their tables).
For example the table linking the Client and Projects table contain the
following fields:
LinkClientProjectID [ Auto number – PK ]
ClientID [from Client table]
ProjectID [from Project table]
From the very beginning of the venture I’ve had difficulty building forms
that allow updating to the underlying tables. I’ve tried sub forms and
although the data will display as designed… I have yet to get it to allow me
to ADD new data to any table using the form. My first form using the Client
table [master form], and Project(s) table [sub-form] resulted in an error:
“Field cannot be updated.†I have checked the data locks; no locks.
I have spent a lot of time trying different approaches to get data from all
3 tables on a single form, which will allow data updating - without any
success. I understand Sub-Forms work only when the relationship is
one-to-many, which may be part of my problem using the intermediary table.
Any advice would be appreciated.
Bill
following tables:
client
projects
comments
Each table is linked with an "intermediary" table, with the Project table in
the middle. This has given me a ‘many-to-many’ relationship to each folder.
The ‘link’ tables contain a PK [auto#], and a field for each of the linked
tables primary-keys (which are auto# fields within their tables).
For example the table linking the Client and Projects table contain the
following fields:
LinkClientProjectID [ Auto number – PK ]
ClientID [from Client table]
ProjectID [from Project table]
From the very beginning of the venture I’ve had difficulty building forms
that allow updating to the underlying tables. I’ve tried sub forms and
although the data will display as designed… I have yet to get it to allow me
to ADD new data to any table using the form. My first form using the Client
table [master form], and Project(s) table [sub-form] resulted in an error:
“Field cannot be updated.†I have checked the data locks; no locks.
I have spent a lot of time trying different approaches to get data from all
3 tables on a single form, which will allow data updating - without any
success. I understand Sub-Forms work only when the relationship is
one-to-many, which may be part of my problem using the intermediary table.
Any advice would be appreciated.
Bill