Hey all, have been tasked to design a database at work, that can hold information about some 70 odd companies. The database holds information about their financials, Historical Stock data, historical currency data and a few other things about each of the companies.
I'm no database expert by a long shot, but with some help and using some of my past knowledge in basic programming I was able to write some VBA code, to generate some calculated tables for a number of other values.
Now there are two issues that I'm currently having:
Firstly, it's regarding the charts option in Access; I need to be able to generate daily stock market price change and volume charts using the data in the Historical_Stoc k_data table; which has a composite key of (StockCode,Date s). I was able to generate both charts fairly easily and modify them but I'm not totally sure why it isn't filtering the chart for any of the other companies, it's only using the data for the first company starting with the letter 'A'. Not too sure how this will work.
Secondly, I'm generating single company reports, which holds information about there daily price, 24 month Hi/Lo, Market cap, informationg about their concessions plus all the financial information which is in that table as well. Now what I did here was, designed a subreport which holds the yearly financial data and embedded it in the main report. The filtering here for the companies works fine; in that when I press a button on the form, it prompts for the company name, then it brings up a report based on that. The problem here is, depending on how many years worth of information there is in the financial table, the report generates that many embedded subreports in the main report; for example when I put data for 2009 & 2010 it generates two embedded subreports in the main report, both showing the same data.
Any help would be appreciated.
I'm no database expert by a long shot, but with some help and using some of my past knowledge in basic programming I was able to write some VBA code, to generate some calculated tables for a number of other values.
Now there are two issues that I'm currently having:
Firstly, it's regarding the charts option in Access; I need to be able to generate daily stock market price change and volume charts using the data in the Historical_Stoc k_data table; which has a composite key of (StockCode,Date s). I was able to generate both charts fairly easily and modify them but I'm not totally sure why it isn't filtering the chart for any of the other companies, it's only using the data for the first company starting with the letter 'A'. Not too sure how this will work.
Secondly, I'm generating single company reports, which holds information about there daily price, 24 month Hi/Lo, Market cap, informationg about their concessions plus all the financial information which is in that table as well. Now what I did here was, designed a subreport which holds the yearly financial data and embedded it in the main report. The filtering here for the companies works fine; in that when I press a button on the form, it prompts for the company name, then it brings up a report based on that. The problem here is, depending on how many years worth of information there is in the financial table, the report generates that many embedded subreports in the main report; for example when I put data for 2009 & 2010 it generates two embedded subreports in the main report, both showing the same data.
Any help would be appreciated.
Comment