I am working on a form that allows the user to select several alloys to display chemical compositions for a report. I am able to successfully get the alloys I need onto a (global) recordset.
The 'Chemical Composition' recordset itself has over 30 fields (one for each element on the periodic table, ie Iron, Zinc, Gold, etc.), each field is either a '0' or has some value (bc it's an element in the formula of the alloy). Every alloy can have a drastically different chemical composition.
Basically I need to find a programmatic way to get my report to "go through the recordset display a 2xN grid for each alloy ('N' being the number of elements in the alloy), with each 'column' that prints to have the Element on top then the value for that element below it. I.E.:
Code:
REPORT
[Fe] [Cr]
Alloy 1 50% 50%
[Ag] [Cr] [Co]
Alloy 2 25% 50% 25%
...
Alloy N
Thank you for any tips/hints/previous examples you may be able to throw my way