"Select accode As SL, achead As Particulars, IIf(opening < 0, opening As Receipt, 0 As Receipt), IIf(opening > 0, opening As Payment, 0 As Payment) From accounts Order By achead"
IIf(opening < 0, opening As Receipt, 0 As Receipt)
IIf(opening < 0, opening, 0) As Receipt
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)