I have two tables and one form in my database Tables Names BookingT LMEPriceT Form Name BookingF On selecting average from term field in my bookingF form then I need average of CU between DOF and EOD from LMEPriceT table.