I have a db that is giving me a problem. I have a form which contains a sub-form that displays data that is filtered from combo boxes and option buttons. This all works fine.
I now text boxes at the bottom of my main form which display certain data (count records in sub form, Average attendance, Average mark scored, and highest expense paid). These are all linked to text boxes in the footer of the sub form.
I have got working the count records and average attendance however the remaining two boxes are stumping me.
The problem I have encountered is the last box. I want to display the maximum cost of expenses displayed in the sub form. I have tried DMax as a start but I want to still view all the records in the subform however I need to display in the text box the value of the highest paid.
The current code in the text box is as follows:
Expand|Select|Wrap|Line Numbers
- =[front screen data subform].[Form]![Transport Expenses]
Any ideas??