In your report calculated control for "Sum Debit" try
Code:
=DSum("Debit","CustomerT","[Forms]![Frm1]![CmbCustID] AND Month(Trans_Date) = Month(Date())-1")
and do the same for Credit textbox then in opening balance textbox, subtract the two values.
This part Month(Trans_Date) = Month(Date())-1 will look at data in the prior month only. If you want to be able to do something else, you'll have to use a date value from somewhere else. In that case, you likely would not want to subtract 1 from that date.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.