I'm relatively new to Access, so I'm wondering if my goal is impossible or just solved in a different method. All suggestions welcomed.
I have a database that includes an attachment field which is currently populated with Excel workbooks. These are not massive workbooks and contain only two worksheets for each record. The first worksheet allows staff to enter quantities and unit costs for maintenance items (no more than 20 items, which without going into specifics, is more items than will ever be needed). The other worksheet sorts the data by total cost and reports the estimated maintenance total and the top three maintenance line items.
I'd like to create a report in Access for each record that shows, among other things, the top three maintenance items and maintenance estimate for each asset (the range I'd be looking at would only be 5rX5c). I'd do this within Access BUT the number of items for each record could conceivably vary, hence the Excel file. Is there a way to show this data on the report?
Is the following an option? Limiting the number of maintenance items and unit costs to a fixed number (say 6, for argument's sake), then creating a query with calculated field which figures the estimated maintenance cost for each, then filtering the calculated fields to report the Top 3 items. This way I could query all this data and use it to populate the fields on the report. It seems plausible but I'm left wondering if there is a more clever way to skin this cat.
Thanks, any consideration is appreciated.
I have a database that includes an attachment field which is currently populated with Excel workbooks. These are not massive workbooks and contain only two worksheets for each record. The first worksheet allows staff to enter quantities and unit costs for maintenance items (no more than 20 items, which without going into specifics, is more items than will ever be needed). The other worksheet sorts the data by total cost and reports the estimated maintenance total and the top three maintenance line items.
I'd like to create a report in Access for each record that shows, among other things, the top three maintenance items and maintenance estimate for each asset (the range I'd be looking at would only be 5rX5c). I'd do this within Access BUT the number of items for each record could conceivably vary, hence the Excel file. Is there a way to show this data on the report?
Is the following an option? Limiting the number of maintenance items and unit costs to a fixed number (say 6, for argument's sake), then creating a query with calculated field which figures the estimated maintenance cost for each, then filtering the calculated fields to report the Top 3 items. This way I could query all this data and use it to populate the fields on the report. It seems plausible but I'm left wondering if there is a more clever way to skin this cat.
Thanks, any consideration is appreciated.