MacroScope
Programmer
I am creating a new database in Access 2007 (soon to migrate to 2010). Its function is to track share offerings for a newly formed company.
I created a main form and used the subform tool in form design to add a subform. The main form contains data for individual investors/shareholders, typical name, contact info, etc.
Each record on the subform represents a complete transaction. It has TransactionID, ShareholderID, number of shares purchased, date, whether shares were purchased or transferred from an owner's holdings to someone else, name of the recipient, and other things of a similar nature.
As I scroll from record to record in the main form, the subform shows a new record with the same ShareholderID, ready to add a new transaction.
It seems that by default Access sets the subform up like an order form, designed to add multiple records to a single invoice, for example, like front brakes, rotors, brake fluid, etc. all purchased at the same time.
That's not what I want in this case. As I scroll from record to record I would like to see all the previous transactions, with the new record awaiting a new transaction.
To try to make myself more clear, imagine that ShareholderID 1 has made 3 purchases of 1,000 shares, on three separate dates. What I'd like to see displayed in the subform as I hit ShareholderID 1 on the main form would be the three previous transactions. To repeat, each line represents a complete transaction, with all details pertaining to it contained within it.
How can I get the subform to display all previous records related to that shareholder ID, with a new record awaiting a new transaction?
All suggestions will be appreciated.
I created a main form and used the subform tool in form design to add a subform. The main form contains data for individual investors/shareholders, typical name, contact info, etc.
Each record on the subform represents a complete transaction. It has TransactionID, ShareholderID, number of shares purchased, date, whether shares were purchased or transferred from an owner's holdings to someone else, name of the recipient, and other things of a similar nature.
As I scroll from record to record in the main form, the subform shows a new record with the same ShareholderID, ready to add a new transaction.
It seems that by default Access sets the subform up like an order form, designed to add multiple records to a single invoice, for example, like front brakes, rotors, brake fluid, etc. all purchased at the same time.
That's not what I want in this case. As I scroll from record to record I would like to see all the previous transactions, with the new record awaiting a new transaction.
To try to make myself more clear, imagine that ShareholderID 1 has made 3 purchases of 1,000 shares, on three separate dates. What I'd like to see displayed in the subform as I hit ShareholderID 1 on the main form would be the three previous transactions. To repeat, each line represents a complete transaction, with all details pertaining to it contained within it.
How can I get the subform to display all previous records related to that shareholder ID, with a new record awaiting a new transaction?
All suggestions will be appreciated.