7fttalllaura
New member
- Local time
- Yesterday, 22:04
- Joined
- Dec 15, 2009
- Messages
- 2
Hi,
If anyone could provide help with a little problem I am having in creating a rent payment schedule in Access 2007 it would be great
I am trying to currently create a command button to carry out several queries to run, however I need all the results shown all within one either list (report) or in a table to allow for tracking of payments due. There are 12 months of rent due for each lease.
For example the query’s are below:-
Overdue rent 1st month
Overdue rent 2nd month
The queries set up are as follows (each different for the number of month that the rent is due)
SELECT [Rent Schedule].*, [Rent Schedule].[Rent 1st Month Due], [Rent Schedule].[Rent 1st Month Paid]
FROM [Rent Schedule]
WHERE ((([Rent Schedule].[Rent 1st Month Due]) Between Date() And Date()+2) AND (([Rent Schedule].[Rent 1st Month Paid])=No));
The results I require is all current rents that are due from all properties no matter what month as all properties are checked in at different months.
I have tried the following command button however I require the coding to allow for all results to be shown from each query.
Private Sub Command54_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Rent 1st Month Due", acViewNormal
DoCmd.OpenQuery "Rent 2nd Month Due", acViewNormal
DoCmd.OpenQuery "Rent 3rd Month Due", acViewNormal
DoCmd.SetWarnings True
End Sub
If anyone could help with this it would be amazing.
Thanks,
Laura J
If anyone could provide help with a little problem I am having in creating a rent payment schedule in Access 2007 it would be great
I am trying to currently create a command button to carry out several queries to run, however I need all the results shown all within one either list (report) or in a table to allow for tracking of payments due. There are 12 months of rent due for each lease.
For example the query’s are below:-
Overdue rent 1st month
Overdue rent 2nd month
The queries set up are as follows (each different for the number of month that the rent is due)
SELECT [Rent Schedule].*, [Rent Schedule].[Rent 1st Month Due], [Rent Schedule].[Rent 1st Month Paid]
FROM [Rent Schedule]
WHERE ((([Rent Schedule].[Rent 1st Month Due]) Between Date() And Date()+2) AND (([Rent Schedule].[Rent 1st Month Paid])=No));
The results I require is all current rents that are due from all properties no matter what month as all properties are checked in at different months.
I have tried the following command button however I require the coding to allow for all results to be shown from each query.
Private Sub Command54_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Rent 1st Month Due", acViewNormal
DoCmd.OpenQuery "Rent 2nd Month Due", acViewNormal
DoCmd.OpenQuery "Rent 3rd Month Due", acViewNormal
DoCmd.SetWarnings True
End Sub
If anyone could help with this it would be amazing.
Thanks,
Laura J