Hi guys
I recently created a pretty big spreadsheet for analysing test results but it was full of small bugs etc. as effectively I was trying to recreate database functions within it. So I have started again using Access instead (of which I am a noob, but I am learning quickly) and it is going at full steam ahead at the moment. There is one small point I am struggling with.
My results table is structured based on the number of spots seen for a selection of groups from A - M (e.g. group A, 4 spots where seen, group B, 6 spots and so on) along with some information about some other parameters. Each group is subtly different from its neighbour. The number of spots is then compared to a "baseline" value to test for drift. There are three levels of data, a reference, a baseline (for comparing to the reference) and general (which is compared to the baseline).
The results require analysing the number of spots seen, correcting for group etc. and this is all incredibly easy within VBA (largely as I have similar code already written).
In my excel version, I managed to create a chart that was populated with an array of data using VBA. This worked perfectly, and I could even change the legend to reference, baseline etc. depending on the data being used at that instance. I am trying to recreate something similar within Access but I am stumbling at the first hurdle. The charts within the Report are based upon data either from a Table or a Query, neither of which are applicable in this case. Is there a way to set the values within the chart manually according to an array I will be creating within VBA? If this isn't possible, what is the best way around this?