Hi,
I wonder if there is anyone who can help with this one. It should be quite easy but I cannot seem to get my head round it at the moment.
I am trying to add an investment section to a database I have designed.
So far I have tables as follows:
Table 1 Client Name
Table 2 Fund Name
Table 3 Fund Name / Bid price / Date
Table 4 Client Name / Fund Name / Units
What I need to end up with is, the client name, all funds held, units held for each fund and the fund value for a specific date (bid price * Units).
I have connected table 1 and 4 by client so that all of the funds entered for a client are stored under that client with their unit holding.
What I am having difficulty with is then connecting the clients holding with the fund data to get the clients fund value for a specific date. eg.
A Client / Gold Fund / Date of valuation / Bid price / Fund Value (Bid price * Units)
Some sort of set up is needed to if a date is entered i.e. 03/03/2009, the database will look up the fund prices for that date and multiply them by the clients units to get a fund value for that date. I know that the latter can be calculated on a form or report, however it is just getting it to connect with the date and bid price for that date I am struggling with.
Does anyone know if there is an easy way to do this as I am sure I am trying to overcomplicate it somehow.
Thanks in advance.
I wonder if there is anyone who can help with this one. It should be quite easy but I cannot seem to get my head round it at the moment.
I am trying to add an investment section to a database I have designed.
So far I have tables as follows:
Table 1 Client Name
Table 2 Fund Name
Table 3 Fund Name / Bid price / Date
Table 4 Client Name / Fund Name / Units
What I need to end up with is, the client name, all funds held, units held for each fund and the fund value for a specific date (bid price * Units).
I have connected table 1 and 4 by client so that all of the funds entered for a client are stored under that client with their unit holding.
What I am having difficulty with is then connecting the clients holding with the fund data to get the clients fund value for a specific date. eg.
A Client / Gold Fund / Date of valuation / Bid price / Fund Value (Bid price * Units)
Some sort of set up is needed to if a date is entered i.e. 03/03/2009, the database will look up the fund prices for that date and multiply them by the clients units to get a fund value for that date. I know that the latter can be calculated on a form or report, however it is just getting it to connect with the date and bid price for that date I am struggling with.
Does anyone know if there is an easy way to do this as I am sure I am trying to overcomplicate it somehow.
Thanks in advance.