Hi all,
Ok here it goes. I've been working on this database on and off the last two months but run into walls the whole time. I've got a feeling that it actually is simple but my problem lies at the very beginning in defining my tables and relationships. I can't decide between having a flat structure or a relational database.
Problem Statement:
I want to compile a database that monitors the returns and other information of investment funds over time. Each month data about each fund is entered into the database.
The information about each fund is categorized as follows:
1. Returns
2. Asset Composition
3. Market Value of fund
1 and 2 has further subdivisions but thats why we use Access...
I started of by designing a table FundInfo. This table contains all the funds I want to monitor with following fields: FundID, FundName, Type, RiskType, Manager and Region. My primary key here is FundID and has datatype autonumber.
Since the data for each fund changes monthly, I then designed various different tables all with following multifield key: FundID and Date since such a record will be unique to each fund. The FundID (data type: text) here is obtained via a query where you choose the fundname but the id is stored. The relationships are then as follows: one to many between FundInfo and all other tables.
Things are getting complicated at this stage because when I start using queries I keep getting an error: Type Mismatch. It is here that I suspect my relationships are wrong.
Any comments, tips or just interest would be appreciated as I am feeling a bit frustrated on this one. "Access for Dummies" is a great help but I need some human intervention.
At the end of the day I want to use the database to compile a report on all the various funds. It has to include graphs etc.
Waiting in anticipation
Ok here it goes. I've been working on this database on and off the last two months but run into walls the whole time. I've got a feeling that it actually is simple but my problem lies at the very beginning in defining my tables and relationships. I can't decide between having a flat structure or a relational database.
Problem Statement:
I want to compile a database that monitors the returns and other information of investment funds over time. Each month data about each fund is entered into the database.
The information about each fund is categorized as follows:
1. Returns
2. Asset Composition
3. Market Value of fund
1 and 2 has further subdivisions but thats why we use Access...
I started of by designing a table FundInfo. This table contains all the funds I want to monitor with following fields: FundID, FundName, Type, RiskType, Manager and Region. My primary key here is FundID and has datatype autonumber.
Since the data for each fund changes monthly, I then designed various different tables all with following multifield key: FundID and Date since such a record will be unique to each fund. The FundID (data type: text) here is obtained via a query where you choose the fundname but the id is stored. The relationships are then as follows: one to many between FundInfo and all other tables.
Things are getting complicated at this stage because when I start using queries I keep getting an error: Type Mismatch. It is here that I suspect my relationships are wrong.
Any comments, tips or just interest would be appreciated as I am feeling a bit frustrated on this one. "Access for Dummies" is a great help but I need some human intervention.
At the end of the day I want to use the database to compile a report on all the various funds. It has to include graphs etc.
Waiting in anticipation