Monthly event

Mrsostrich

Registered User.
Local time
Today, 04:42
Joined
Sep 28, 2002
Messages
21
Not sure if this is a query or VBA topic

What I want to do is use Access for an automated rent book. I need to add an amount of rent on to a bill each month, so that I can then subrtract payments and keep a running total.

Any ideas please?
 
Calculate the value, based on the current date and the start of the contract, DateDiff will give you the number of Months due
 
Oh that's a good idea - I hadn't thought of recalculating from the start each time - that also makes it easier to allow for different rent dates for each tennant.

Thanks a lot
 
Be careful with cal months though, DateDiff "m" on it's own will not give the correct result
 
Ok, I'm probably being dense, but why not and how do I bully it into doing what I want it to?
 
DateDiff("m", #05/08/03#,#01/09/03#) will give the answer as 1, which of course isn't correct. Are you charging cal monthly in advance?
 
That's another good idea. The rents are actually billed monthly, but the append query would still work nicely, and would be tidier than just a date diff, it's more like what I had in mind originally. I could then have a similar query working for payment which appends when a payment is entered, then all transactions would be in same table and the difference between due and payments would be calculated, perhaps on a report.
 

Users who are viewing this thread

Back
Top Bottom