Dear all,
I have SQL back and Access Project ADP as front
the problem is infact with ADP ... i have been using Acess and VBA for long , when i was using MDB simple access database sumif and or conditional sum like =sum(iif(A=9,amount))
they worked perfectly alright,
but in ADP report i can not use SUMIF or conditional sum or even i can not use simple SUM function to calculated a previously calculated filed....
i can not get them from a base table or query becoz my report is fed up with entries from a form with filtered criterias....i mean the report is based on a filtered recordset from a form....
so now i want to calculated or sum the amount first a simple sum like
TOTAL Amount = sum(amount)
conditional TOTALs like
Ongoing Amount = sum(iif([Contract_type]="p",[amount],0))
they doesnot work
I wanted to use the method through VBA but dont know if i can
so can you find a solution for this ...i will be so thankful to you all
thanks
waiting
I have SQL back and Access Project ADP as front
the problem is infact with ADP ... i have been using Acess and VBA for long , when i was using MDB simple access database sumif and or conditional sum like =sum(iif(A=9,amount))
they worked perfectly alright,
but in ADP report i can not use SUMIF or conditional sum or even i can not use simple SUM function to calculated a previously calculated filed....
i can not get them from a base table or query becoz my report is fed up with entries from a form with filtered criterias....i mean the report is based on a filtered recordset from a form....
so now i want to calculated or sum the amount first a simple sum like
TOTAL Amount = sum(amount)
conditional TOTALs like
Ongoing Amount = sum(iif([Contract_type]="p",[amount],0))
they doesnot work
I wanted to use the method through VBA but dont know if i can
so can you find a solution for this ...i will be so thankful to you all
thanks
waiting