After all is done, I want query(s) which will give me the ability to create a report which will allow me to compare 3 apts with the parameters equaling bedroom size, and rents which are equal or greater to the tenant's current rent and bedroom size.
The first problem: Creating a field which will output a result which is contingent to what was inputed on the Bedroom Size. The apt.bedx is the cost of the rent.
(spelled out for one field)
Expr1
If the field tenant.Bedroom_ size = "0" then output field apt.bed0
If the field tenant.Bedroom_ size = "1" then output field apt.bed1
If the field tenant.Bedroom_ size = "2" then output field apt.bed2
If the field tenant.Bedroom_ size = "3" then output field apt.bed3
If the field tenant.Bedroom_ size = "4" then output field apt.bed4
(spelled out for a different query)
The second problem: Creating a field which would compare the results from the previous expr and output the results.
Expr2
tenant.gross rent <= Expr1
[Email Removed]