In your example table, is each row a different record?
If salaries are in another table, what does that have to do with "price" in this table? (
I Want to sum Salaries For Workers, based on This:Is it paid or not.) What do you mean by that?
If each row in your table is a different record and you want the total of Price for a given name for all Paid (or all unpaid) records, you can perform a find for all Paid (or for all Unpaid) records, sort the records by name and use a summary field placed inside a sub summary layout part set to be "when sorted by name". To produce a subtotal for each person.
There are many other ways to get these subtotals so this is just one fairly simple way.
Sorry, It should be not Price, but Payment, just Quick Typing mistake Sorry for that.
Ok, but How to sum between my selected Dates?
I have already answered that question. Just use "payment" where I used "price" in my last response.
If that doesn't work for you, please explain and provide as much info as you can about what you want to do as there are many ways to calculate these totals.
I want to be able to select in Layout Salaries these Fields:
Start Date - from this date on wards will be calculated
End Date - till this date will be calculated Salaries
Then I want to make report To be able to print for each name individual report on what day what they have earned.