Hi Guys
i have a form with loads of unbound text fields on it, each field has code like this behind it
=Nz(DSum("[payment]","[Account Transactions]","[category]=3 and [Entry Date] between #" & Format([Forms]![Open Balance Sheet]![Start Date Txt Box],"mm\/dd\/yyyy") & "# And #" & Format([Forms]![Open Balance Sheet]![End Date Txt Box],"mm\/dd\/yyyy") & "#"),0)
in a unbound text box im trying to show the following
basically what i am trying to do is to add up all the transactions with ids from 1 to 77 and then subtracting all the values from the same table where the category ID = 38,39,40,41
is there a way to simplify this process?
any help would be great
Steve