phillsheen
Registered User.
- Local time
- Today, 15:19
- Joined
- Jun 12, 2006
- Messages
- 86
Hi everyone,
I have a very confusing problem that im not sure where to start with.
I have table that contains members payments. This table is updated once or twice a month with all the new payments that we recieve from the bank. This table contains the date of the payment 'datepaid'.
I have another table which contains the members bank details. On this table I have a field 'paymentday'. This field contains the day of the month which we would expect their payment e.g. 4th or 10th of any month. The Data Type for this is currently number. This may need to be a date type but only to display the day?
What I would like is a query that when run would ask me for the month, for example June, it would then look at the 'paymentday' on the members bank details to find the date in which we should find a payment for that member. The query would then return a table of payments not found with in 5 days (5 days before the date or after the date) of when we would expect the payment.
So for example in June I should have recieved a payment from Joe Bloggs on the 15th of the month. Once the query has run it finds no payment for him between the 10th to the 20th of june. So Joe Bloogs would be in the table.
I would really appreciate any help or guidance on this one as my heads thumping!
Cheers Phill
I have a very confusing problem that im not sure where to start with.
I have table that contains members payments. This table is updated once or twice a month with all the new payments that we recieve from the bank. This table contains the date of the payment 'datepaid'.
I have another table which contains the members bank details. On this table I have a field 'paymentday'. This field contains the day of the month which we would expect their payment e.g. 4th or 10th of any month. The Data Type for this is currently number. This may need to be a date type but only to display the day?
What I would like is a query that when run would ask me for the month, for example June, it would then look at the 'paymentday' on the members bank details to find the date in which we should find a payment for that member. The query would then return a table of payments not found with in 5 days (5 days before the date or after the date) of when we would expect the payment.
So for example in June I should have recieved a payment from Joe Bloggs on the 15th of the month. Once the query has run it finds no payment for him between the 10th to the 20th of june. So Joe Bloogs would be in the table.
I would really appreciate any help or guidance on this one as my heads thumping!

Cheers Phill