Mike Hughes
Registered User.
- Local time
- Today, 22:05
- Joined
- Mar 23, 2002
- Messages
- 493
Query returns “amount paid” and “amount due” for the month.
From these results I want to select the lesser of the two amounts and if they are
The same amount than just return that amount.
EXAMPLE 1: amount paid $100 amount due $200 query would return $100.
EXAMPLE 2: amount paid $200 amount due $200 query would return $200
EXAMPLE 3: amount paid $200 amount due $100 query would return $100
Can someone help with the formula needed in my query to return these results?
From these results I want to select the lesser of the two amounts and if they are
The same amount than just return that amount.
EXAMPLE 1: amount paid $100 amount due $200 query would return $100.
EXAMPLE 2: amount paid $200 amount due $200 query would return $200
EXAMPLE 3: amount paid $200 amount due $100 query would return $100
Can someone help with the formula needed in my query to return these results?