Both notes and categories have the field category_id. Categories table category_id is set to Autonumber. Notes category_id is set to number. Therefore, only one number is allowed in that field.
How can I get it so that a note may have multiple categories?
------
UPDATE:
Decided to add a third table notes_categories with note_id, category_id ... this would hold multiple rows of same note_id but different categories. However, I have NO idea how to get these to update in a submission form. The submission (DataPage) is based on the table "notes" and maybe it should be based on something else. If I use a view then the submission forms says no table is editable.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
lph2005
Two database tables: notes and categories
Both notes and categories have the field category_id. Categories table category_id is set to Autonumber. Notes category_id is set to number. Therefore, only one number is allowed in that field.
How can I get it so that a note may have multiple categories?
------
UPDATE:
Decided to add a third table notes_categories with note_id, category_id ... this would hold multiple rows of same note_id but different categories. However, I have NO idea how to get these to update in a submission form. The submission (DataPage) is based on the table "notes" and maybe it should be based on something else. If I use a view then the submission forms says no table is editable.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.