Dear sir,
i created one project its a students record.i have one table and 18 fields.
i create 8 Fields for amount entry and they have 8 date entry.
eg: installment 1-->amount--->date1(date=12/6/2013)
installment 2--->amount--->date2(date=13/6/2013)
. installment 3--->amount--->date3(date=13/6/2013)
.
.
installment 8--->amount-->date8(date=12/6/2013)
I WANT-- if i enter date 12/6/2013 on search option will get sum of installment1 and installment8
if i enter date 13/6/2013 on search option will get sum of installment3 and installment2
what is the query for this?