B
Bryan
Hey all,
I am building a DB (ACC2003) for an apartment complex with 206 apts. What
they are wanting to accomplish is to have all the data visible in a form.
Here is the problem. I have lease expiration dates for the apts. I wrote a
query to bring these down to 12 totals, (CountofMonth.) What they require is
visibility of these to see how many expirations they have each month and then
compare these to a "Target" mumber and a "Max" number, which are set numbers.
As they approach the target they want to change the text color of the month
from green to orange and as they approach the max they want to change the
color to red. Changing the color I can do, but I cannot figure out how to
combine the info into one query so I can pull it up on one form, side by
side. I need to pull info from 2 tables:
table1
AptNumber
LeaseExpDt
Month (MMM)
(206 rows)
Table2
Month (MMM) these are set to align with the next 2
Target
Max
(12 rows)
Actual is derived from a query:
qryActuals
Month
Countof Month>>gives me actuals
LeaseExpDt>>for sort order
How can I combine these to use them together on one form/datasheet?
One of the problems in trying to tie these two together is that the Month
fields are not the same. One is derived and one is manually entered. That
may be my major conundrum, but I am not sure how to rectify it. Somehow they
need to "see" only the MMM, not the actual short date behind it.
Thoughts??
Thanks!
I am building a DB (ACC2003) for an apartment complex with 206 apts. What
they are wanting to accomplish is to have all the data visible in a form.
Here is the problem. I have lease expiration dates for the apts. I wrote a
query to bring these down to 12 totals, (CountofMonth.) What they require is
visibility of these to see how many expirations they have each month and then
compare these to a "Target" mumber and a "Max" number, which are set numbers.
As they approach the target they want to change the text color of the month
from green to orange and as they approach the max they want to change the
color to red. Changing the color I can do, but I cannot figure out how to
combine the info into one query so I can pull it up on one form, side by
side. I need to pull info from 2 tables:
table1
AptNumber
LeaseExpDt
Month (MMM)
(206 rows)
Table2
Month (MMM) these are set to align with the next 2
Target
Max
(12 rows)
Actual is derived from a query:
qryActuals
Month
Countof Month>>gives me actuals
LeaseExpDt>>for sort order
How can I combine these to use them together on one form/datasheet?
One of the problems in trying to tie these two together is that the Month
fields are not the same. One is derived and one is manually entered. That
may be my major conundrum, but I am not sure how to rectify it. Somehow they
need to "see" only the MMM, not the actual short date behind it.
Thoughts??
Thanks!