chris-uk-lad
Registered User.
- Local time
- Today, 04:17
- Joined
- Jul 8, 2008
- Messages
- 271
Hi all, im kinda new at this sort of thing so bear with me please.
I have a table which contains customer details (its a project based on loans). In a table i have various details, but whats important to me are a reference number that relates to the customer, and a total loan amount.
I can create the query which returns all the information i want, but within the query i want it to work out the loan into monthly amounts, i.e £1,800,00 divided by 12, but only if it is divisible by 12, otherwise return NULL to say it is not.
So say:
REF Loan
123456 £1,800.00 (which will return amount as can be divided)
234567 £1,633,01 (which will return NULL as cannot)
All help is greatly appreciated.
I have a table which contains customer details (its a project based on loans). In a table i have various details, but whats important to me are a reference number that relates to the customer, and a total loan amount.
I can create the query which returns all the information i want, but within the query i want it to work out the loan into monthly amounts, i.e £1,800,00 divided by 12, but only if it is divisible by 12, otherwise return NULL to say it is not.
So say:
REF Loan
123456 £1,800.00 (which will return amount as can be divided)
234567 £1,633,01 (which will return NULL as cannot)
All help is greatly appreciated.