I am designing a Housing Database to track rent payments for Non-For-
Profit organization and they calculate/figure the tenant/client's Rent
payment based on how many room mates. No Problem, Rent is set at apt
#1 for $750/month, 3 people share the apt so $750/3 yields $250 for
client #1, $250 for client #2, and $250 for client #3. Here is the
problem. They do not calculate rent based on equal payments for all
shared clients in one apartment, however they calculate based on how
much income each client gets from the State to find the weighted
percentage to contribute to the Total rent. Client making less money
should not be subject to same payments as client receiving more state
aid. (See example below)
Client #1 pulls $10,000 annually, so $10,000/(10,000+12,000+15,000) =>
27%
Client #2 pulls $12,000 annually, so $12,000 / (10000+12000+15000) =>
32%
Client #3 pulls $15,000 annually, so $15,000 / (10000+12000+15000) =>
41%
Taking the percentages from above I need to re-step thru the detail
section and calculate the rent portions for each client:
Client #1 .27 * $750 =$202.50
Client #2 .32 * $750 =$240.00
Client #3 .41 * $750 =$307.50
SO my issue with access is that I can setup a footer Group right below
the detail section and calculate this information with no problem.
wrong. The issue is to sum the annual figure in the group section,
but how do I step back and get the individual 10000, 12000, 15000
numbers...
I believe I have reached an issue that Access can not resolve...
Any recommendation in how to get the Rent portions for each Client in
a report would be greatly appreciated.
This database is completely done and just need to fix this issue.
thanks, Jeff Harris (ha****@compu-type.net) 4 1205
What is your table structure as this info would help in resolving your
problem!!
Regards,
Mark
<ha****@compu-type.netwrote in message
news:49**********************************@a23g2000 hsc.googlegroups.com...
>I am designing a Housing Database to track rent payments for Non-For-
Profit organization and they calculate/figure the tenant/client's Rent
payment based on how many room mates. No Problem, Rent is set at apt
#1 for $750/month, 3 people share the apt so $750/3 yields $250 for
client #1, $250 for client #2, and $250 for client #3. Here is the
problem. They do not calculate rent based on equal payments for all
shared clients in one apartment, however they calculate based on how
much income each client gets from the State to find the weighted
percentage to contribute to the Total rent. Client making less money
should not be subject to same payments as client receiving more state
aid. (See example below)
Client #1 pulls $10,000 annually, so $10,000/(10,000+12,000+15,000) =>
27%
Client #2 pulls $12,000 annually, so $12,000 / (10000+12000+15000) =>
32%
Client #3 pulls $15,000 annually, so $15,000 / (10000+12000+15000) =>
41%
Taking the percentages from above I need to re-step thru the detail
section and calculate the rent portions for each client:
Client #1 .27 * $750 =$202.50
Client #2 .32 * $750 =$240.00
Client #3 .41 * $750 =$307.50
SO my issue with access is that I can setup a footer Group right below
the detail section and calculate this information with no problem.
wrong. The issue is to sum the annual figure in the group section,
but how do I step back and get the individual 10000, 12000, 15000
numbers...
I believe I have reached an issue that Access can not resolve...
Any recommendation in how to get the Rent portions for each Client in
a report would be greatly appreciated.
This database is completely done and just need to fix this issue.
thanks, Jeff Harris (ha****@compu-type.net)
On May 13, 4:16*pm, "Mark" <mreed1...@btinternet.comwrote:
What is your table structure as this info would help in resolving your
problem!!
Regards,
Mark
<har...@compu-type.netwrote in message
news:49**********************************@a23g2000 hsc.googlegroups.com...
I am designing a Housing Database to track rent payments for Non-For-
Profit organization and they calculate/figure the tenant/client's Rent
payment based on how many room mates. *No Problem, Rent is set at apt
#1 for $750/month, 3 people share the apt so $750/3 yields $250 for
client #1, $250 for client #2, and $250 for client #3. *Here is the
problem. *They do not calculate rent based on equal payments for all
shared clients in one apartment, however they calculate based on how
much income each client gets from the State to find the weighted
percentage to contribute to the Total rent. *Client making less money
should not be subject to same payments as client receiving more state
aid. (See example below)
Client #1 pulls $10,000 annually, so $10,000/(10,000+12,000+15,000) =>
27%
Client #2 pulls $12,000 annually, so $12,000 / (10000+12000+15000) =>
32%
Client #3 pulls $15,000 annually, so $15,000 / (10000+12000+15000) =>
41%
Taking the percentages from above I need to re-step thru the detail
section and calculate the rent portions for each client:
Client #1 * .27 * $750 =$202.50
Client #2 * .32 * $750 =$240.00
Client #3 * .41 * $750 =$307.50
SO my issue with access is that I can setup a footer Group right below
the detail section and calculate this information with no problem.
wrong. *The issue is to sum the annual figure in the group section,
but how do I step back and get the individual 10000, 12000, 15000
numbers...
I believe I have reached an issue that Access can not resolve...
Any recommendation in how to get the Rent portions for each Client in
a report would be greatly appreciated.
This database is completely done and just need to fix this issue.
thanks, Jeff Harris (har...@compu-type.net)- Hide quoted text -
- Show quoted text -
Client-tbl
ID Name Income
Building-tbl
Num Description State-adjustment Other Misc....
Apt-tbl
ID Building-tbl.Num Number NumClientsinApt
MonthlyRentforApt
ClientOccupancy-tbl (Assigns Client to Apt)
ID Building-tbl.Num Apt.ID Client.ID
Let me know what else you might need,
On May 13, 9:11*pm, "har...@compu-type.net" <har...@compu-type.net>
wrote:
On May 13, 4:16*pm, "Mark" <mreed1...@btinternet.comwrote:
What is your table structure as this info would help in resolving your
problem!!
Regards,
Mark
<har...@compu-type.netwrote in message
news:49**********************************@a23g2000 hsc.googlegroups.com...
>I am designing a Housing Database to track rent payments for Non-For-
Profit organization and they calculate/figure the tenant/client's Rent
payment based on how many room mates. *No Problem, Rent is set at apt
#1 for $750/month, 3 people share the apt so $750/3 yields $250 for
client #1, $250 for client #2, and $250 for client #3. *Here is the
problem. *They do not calculate rent based on equal payments for all
shared clients in one apartment, however they calculate based on how
much income each client gets from the State to find the weighted
percentage to contribute to the Total rent. *Client making less money
should not be subject to same payments as client receiving more state
aid. (See example below)
Client #1 pulls $10,000 annually, so $10,000/(10,000+12,000+15,000) =>
27%
Client #2 pulls $12,000 annually, so $12,000 / (10000+12000+15000) =>
32%
Client #3 pulls $15,000 annually, so $15,000 / (10000+12000+15000) =>
41%
Taking the percentages from above I need to re-step thru the detail
section and calculate the rent portions for each client:
Client #1 * .27 * $750 =$202.50
Client #2 * .32 * $750 =$240.00
Client #3 * .41 * $750 =$307.50
SO my issue with access is that I can setup a footer Group right below
the detail section and calculate this information with no problem.
wrong. *The issue is to sum the annual figure in the group section,
but how do I step back and get the individual 10000, 12000, 15000
numbers...
I believe I have reached an issue that Access can not resolve...
Any recommendation in how to get the Rent portions for each Client in
a report would be greatly appreciated.
This database is completely done and just need to fix this issue.
thanks, Jeff Harris (har...@compu-type.net)- Hide quoted text -
- Show quoted text -
Client-tbl
ID * * * *Name * * *Income
Building-tbl
Num * * * *Description * * *State-adjustment * *Other Misc....
Apt-tbl
ID * * * *Building-tbl.Num * * *Number * * *NumClientsinApt
MonthlyRentforApt
ClientOccupancy-tbl (Assigns Client to Apt)
ID * * * *Building-tbl.Num * * Apt.ID * * * * Client.ID
Let me know what else you might need,- Hide quoted text -
- Show quoted text -
the queries below should give you want is needed for the report
client (id, name, income)
1 bill 10000
2 john 12000
3 mary 15000
building (id, desc)
1 a brown house
appt (id, buildingId, number, clients, rent)
1 1 1A 3 750
occupancy (id, buildingId, apptId, clientId)
1 1 1 1
1 1 1 2
1 1 1 3
qryOccupancyIncome
select apptId, sum(client.income) as totIncome
from occupancy inner join client on occupancy.clientId = client.id
group by apptId
1 37000
qryPercentShare
select clientId, income / totIncome as percentShare
from occupancy inner join qryOccupancyIncome on occupancy.apptId =
qryOccupancyIncome.apptId
1 .27
2 .32
3 .41
qryRentRequired
select clientId, appt.Rent * percentShare
from occupancy inner join qryPercentShare on occupancy.clientId =
qryPercentShare.clientId
1 202.50
2 240.00
3 307.50
As Roger mentioned, make queries that calculate the needed totals and
percentages. Then make one central query to use as the report source
that joins all of those queries.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lduperval |
last post by:
Hi,
I`m trying to do date calculations in three types of time zones: local,
GMT and specified. The issue I am facing is that I need to be able to
specify a date in the proper time zone, and I`m...
|
by: Willem |
last post by:
Hi there,
I'm sort of new with doing much record manipulation with queries. Up
till now I've been programming VBA and doing record looping to get my
results. This works fine but tends to get...
|
by: Mark Lees |
last post by:
I need some help setting up some date caluclations.
Fields Include:
A. DOB "date of birth"
B. IFSPOrginal "Date IFSP is entered"
C. IFSPRedo "Date 12 months into the future from...
|
by: John M |
last post by:
Hi,
I've been coming up against a failure of a report to display the result of a
simple calculation. I have realised that this calculation cannot take place
unless the field I am working on is...
|
by: Dan Kean |
last post by:
Hi all, I need to calculate some amounts on reports from rcords before they
print, struggling doing so as it doesnt seem to run the calcs asks for
parameters instead- do I need to do it as a form...
| |
by: migueltxa |
last post by:
Hi all,
I have a problem with some calculations in MS Access 2003. I have 3
fields (Qty, Price and VolumeUSD) in a form and the following formula:
VolumeUSD = Qty * Price.
Qty and VolumeUSD...
|
by: md100 |
last post by:
I have calculations in a report to work out payments deducting tax for some unless tax deduction flag is given using the statement
=IIf(=True,(),(-((/100)*22)))
This value is being stored in...
|
by: Grubsy4u |
last post by:
Grubsy4u
Newbie
7 Posts October 5th, 2007
11:31 AM
#1
Report calculations
--------------------------------------------------------------------------------
|
by: Grubsy4u |
last post by:
Does anyone know how i can do calculations for search query reports.
How is this overcome because the search will be differrent with a different report every time.
Is there a formular i can use...
|
by: Catalyst159 |
last post by:
I have a form which is used to calculate residential Floor Area Ratio (FAR). The form is structured into seven parts as follows:
Part A: Maximum FAR and Floor Area:
Part B: Gross Floor Area of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |