Sorry, maybe i didn't explain the problem clearly,
I already have two fields setup Amount earned and Amount spent, in two different tables which were joined to build a query with this two field.
The situation is that, sometimes these two fields are not populated and left blank, but what i want...