beginner - easier to have big table & subdivide it or have couple table sharing ID?
[beginner question - easier to have big table & subdivide it or have couple table sharing ID?]
I plant to have a big database that are on the same level of concept, but they are in different topical/thematic groups.
To simplify, let's say:
The main level data would all have the structure:
But they will have different other columns.
Let's say the TOPICS are:
DIARY -
- author*: me / someone else
- tag level 1: work related / meeting / private / idea / personal-project-B / ...
- tag level 2: (more precise)
- short keyword*: meeting with M / ...
- long RTF memo: description
- image
- date
- [TOPIC: diary]
MEDICAL
- author/source: dr Martin Stouk / ..
- tag level 1: subtype of medicin specialisation: dentist / dermatologist /...
- tag level 2: type of visit (blood analysis / consultation / ...)
- short keyword*:
- long RTF memo: description
- image: scan of medical document
- date
- [TOPIC: medical]
EXPENSES
- author/source: shop/manufacturer/party that was paid
- tag level 1: shopping / bills / services / travel / ...
- tag level 2: clothes / devices / house bills / car bills / books / ...
- short keyword*: name of thing/service bought/paid/lent (trousers)
- long RTF memo: description
- image: image of thing/service
- date
- [TOPIC: expenses]
All topics would have their own columns and their own sub-relations in separate tables (like all the data about this specific dr Martin Stouk, or about this shop or about the person/friend I am strong important dates for; to mention only the columns given above)
And a third table or set of tables, which will be NOTES - paragraphs from books and websites
- author: person/website-of-unknown-author
- source: book/url
- short keyword*: name of thing/service bought/paid/lent (trousers)
- long RTF memo: description
- image: image of thing/service
- date: (often empty)
- TOPIC: history of astronomy / history of language / ...
Here also each topic would have different following columns, but they will share the above ones witch EACH OTHER and with those above in BLUE. But not all of them.
And one AUTHOR could be the same for several of the TOPICS both blue-ones and the Notes-ones. Primarily I MYSELF would be the same author for all or most of the (sub)tables of both types (same AUTHOR ID, I suppose). But I also have authors who write for different NOTES:TOPIC as well as I have bought something from them (TOPIC: EXPENSES)
So there will be let also AUTHOR TABLE
that will also store all the topics
and have shared columns for them all:
- author ID
- person? company? ...?
- last name
- first name
- picture
- [somehow to be indicated: TOPIC which have this as an author. Probably to be learned how to do that, as I don't know]
Now the QUESTION:
If I would want to be able to see them all in one table/form/report
Is it better to
A) have them in one TABLE, but work on separate TOPICS in separate Forms. Am I able to have a Form that is already filtered to consist only "TOPIC: MEDICAL" and all I input in that Form would appear in main Table with the "Medical" added into the TOPIC column automatically?
B) have them in separate main TABLES, but also have a TABLE/FORM that would display data from all of them (or another table with just three chosen TOPIC types) - aligned to the above listed in blue color shared columns, and having lots of following columns - most of which apply only for specific TOPIC type rows.
This probably might stop working if the number of columns ends up bigger than Access limit (I learned it has such limits to columns. Is that true? To the number of rows too?)
How to approach that as a beginner, to give myself more flexibility if I change my mind about the structure. How to approach that merging later vs dividing later when I would have more idea about other columns will I have and will be changing the sub-relations/sub-tables (several info pertaining for one column-x-row/cell of main Table).
The example is not perfect, but it illustrates the idea of having different set of data that share a lot on the highest level of generalities.
There will be a potential problem to think through: There will always appear something that fits two or three TOPICS at the same time.
[beginner question - easier to have big table & subdivide it or have couple table sharing ID?]
I plant to have a big database that are on the same level of concept, but they are in different topical/thematic groups.
To simplify, let's say:
The main level data would all have the structure:
Columns:
- Source/author*
- tag level1
- tag level 2
- short keyword*
- long RTF memo (usually, but not not always)
- image (one or couple, not always, but the cell for image/file should be for every row to put there if needed in future)
- date
- [if kept in one table: - TOPIC (the sort of sub-table name equivalent)
They would all share this structure- Source/author*
- tag level1
- tag level 2
- short keyword*
- long RTF memo (usually, but not not always)
- image (one or couple, not always, but the cell for image/file should be for every row to put there if needed in future)
- date
- [if kept in one table: - TOPIC (the sort of sub-table name equivalent)
But they will have different other columns.
Let's say the TOPICS are:
DIARY -
- author*: me / someone else
- tag level 1: work related / meeting / private / idea / personal-project-B / ...
- tag level 2: (more precise)
- short keyword*: meeting with M / ...
- long RTF memo: description
- image
- date
- [TOPIC: diary]
MEDICAL
- author/source: dr Martin Stouk / ..
- tag level 1: subtype of medicin specialisation: dentist / dermatologist /...
- tag level 2: type of visit (blood analysis / consultation / ...)
- short keyword*:
- long RTF memo: description
- image: scan of medical document
- date
- [TOPIC: medical]
EXPENSES
- author/source: shop/manufacturer/party that was paid
- tag level 1: shopping / bills / services / travel / ...
- tag level 2: clothes / devices / house bills / car bills / books / ...
- short keyword*: name of thing/service bought/paid/lent (trousers)
- long RTF memo: description
- image: image of thing/service
- date
- [TOPIC: expenses]
All topics would have their own columns and their own sub-relations in separate tables (like all the data about this specific dr Martin Stouk, or about this shop or about the person/friend I am strong important dates for; to mention only the columns given above)
And a third table or set of tables, which will be NOTES - paragraphs from books and websites
- author: person/website-of-unknown-author
- source: book/url
- short keyword*: name of thing/service bought/paid/lent (trousers)
- long RTF memo: description
- image: image of thing/service
- date: (often empty)
- TOPIC: history of astronomy / history of language / ...
Here also each topic would have different following columns, but they will share the above ones witch EACH OTHER and with those above in BLUE. But not all of them.
And one AUTHOR could be the same for several of the TOPICS both blue-ones and the Notes-ones. Primarily I MYSELF would be the same author for all or most of the (sub)tables of both types (same AUTHOR ID, I suppose). But I also have authors who write for different NOTES:TOPIC as well as I have bought something from them (TOPIC: EXPENSES)
So there will be let also AUTHOR TABLE
that will also store all the topics
and have shared columns for them all:
- author ID
- person? company? ...?
- last name
- first name
- picture
- [somehow to be indicated: TOPIC which have this as an author. Probably to be learned how to do that, as I don't know]
Now the QUESTION:
If I would want to be able to see them all in one table/form/report
Is it better to
A) have them in one TABLE, but work on separate TOPICS in separate Forms. Am I able to have a Form that is already filtered to consist only "TOPIC: MEDICAL" and all I input in that Form would appear in main Table with the "Medical" added into the TOPIC column automatically?
B) have them in separate main TABLES, but also have a TABLE/FORM that would display data from all of them (or another table with just three chosen TOPIC types) - aligned to the above listed in blue color shared columns, and having lots of following columns - most of which apply only for specific TOPIC type rows.
This probably might stop working if the number of columns ends up bigger than Access limit (I learned it has such limits to columns. Is that true? To the number of rows too?)
How to approach that as a beginner, to give myself more flexibility if I change my mind about the structure. How to approach that merging later vs dividing later when I would have more idea about other columns will I have and will be changing the sub-relations/sub-tables (several info pertaining for one column-x-row/cell of main Table).
The example is not perfect, but it illustrates the idea of having different set of data that share a lot on the highest level of generalities.
There will be a potential problem to think through: There will always appear something that fits two or three TOPICS at the same time.