zelarra821
Registered User.
- Local time
- Today, 19:44
- Joined
- Jan 14, 2019
- Messages
- 840
REFORMULATED QUESTION: see my post below. I put it in a simpler way and with a very simple database.
Hello.
I need help finding an amount in a table by date.
I have a table with the subsidies that a farmer receives, where he writes down each year what they are paying him (TIncome).
There is another table where you write down the amount of subsidies (TImporte) for each year.
The amount is calculated by multiplying the amount of the TImporte obtained by the rights (TDerechos), which are the hectares of the property that is entitled to the subsidy.
My problem arises when establishing the criteria to search for the amount by date and by property in TImportes; and the criteria to search for rights by date and farm.
I am giving you a database with data, to see if someone can guide me on how to get it. I suppose I'll have to look for the first one back from the date the income was recorded, but I have no idea.
Also, I would like it to be something that doesn't require a lot of resources, because the only thing I could think of would be a record set, but I wouldn't know how to do it either.
Thank you so much.
Last edited: