I am very new to Access.
I have simplified my data in order to isolate my problem which is as follows.
I currently have a task that I organize on paper and would like to write a database to do it.
The task is tracking review dates for stocks I follow and storing summary notes for each successive review.
What I do now is write the next date I wish to review a stock on a calendar. When that date arrives I do the review and write a summary which I store in binder with other summaries for the same stock.
My plan for organising this in Access is:
To create two tables.
One table, called Stocks, has two fields in each record. One field (the key field) is for the Ticker Symbol of the stock. The second field is for it's next review date.
The second table, called Summaries, has four fields. One is an auto generated key field, one is for the Ticker Symbol of the Stock the summary is on (A lookup field from the Stocks Table) and the date the summary is done.
I can open the Stocks Table, sort it by review date, and see any stocks that are due for a review. For those that are, as the Summaries table is a Subtable of Stocks, I can click on the + sign for the record that holds the stock I want to review, write the summary in a new record, and add the date I have done it on. This works fine.
But, as it's a learning project (one that I can build upon to eventually incorporate forms etc) I would like to Query the Stocks table for only records that have a review date on or before today. I would like to then assign the Summaries Table as a Subtable of the query and have it work the same as it does in the above paragraph.
When I try and do this, however, all the records in the Summaries table appear beneath each record in the query I expand the subtable for.
I have tried adding a relationship between the Ticker Symbol field in the query and both of the other tables, exclusively and at the same time but that didn't work.
I would really appreciate any guidance.
Thanks
I have simplified my data in order to isolate my problem which is as follows.
I currently have a task that I organize on paper and would like to write a database to do it.
The task is tracking review dates for stocks I follow and storing summary notes for each successive review.
What I do now is write the next date I wish to review a stock on a calendar. When that date arrives I do the review and write a summary which I store in binder with other summaries for the same stock.
My plan for organising this in Access is:
To create two tables.
One table, called Stocks, has two fields in each record. One field (the key field) is for the Ticker Symbol of the stock. The second field is for it's next review date.
The second table, called Summaries, has four fields. One is an auto generated key field, one is for the Ticker Symbol of the Stock the summary is on (A lookup field from the Stocks Table) and the date the summary is done.
I can open the Stocks Table, sort it by review date, and see any stocks that are due for a review. For those that are, as the Summaries table is a Subtable of Stocks, I can click on the + sign for the record that holds the stock I want to review, write the summary in a new record, and add the date I have done it on. This works fine.
But, as it's a learning project (one that I can build upon to eventually incorporate forms etc) I would like to Query the Stocks table for only records that have a review date on or before today. I would like to then assign the Summaries Table as a Subtable of the query and have it work the same as it does in the above paragraph.
When I try and do this, however, all the records in the Summaries table appear beneath each record in the query I expand the subtable for.
I have tried adding a relationship between the Ticker Symbol field in the query and both of the other tables, exclusively and at the same time but that didn't work.
I would really appreciate any guidance.
Thanks
Comment