Re: Adding a column in report
- From: "Randy Harris" <randy@xxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 04:38:39 GMT
<hasanainf@xxxxxxxxx> wrote in message
news:1125462654.045117.251930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Need help on this report
>
> My report displays as follows
>
> Receipt Number Checkout Date Payment Date
> 13580 30-06-2005 02-07-2005
> 13581 01-07-2005 02-07-2005
>
> I want my report to show as follows
>
> Receipt Number Checkout Date Payment Date Status
> 13580 30-06-2005 02-07-2005 Debit
> 13581 01-07-2005 02-07-2005 Cash
>
> Note: An additional column has been added to indicate the status, also
> note that I am using a british date.
>
> If the month of payment date is greater than the month of check out
> date than status field should show Debit and if the month of payment
> date is the same as checkout date than the status field should show
> cash.
>
> I don't know if this is done in report using VBA or underlying query.
> I will use the status field to group my results, grouping debit
> separately and cash separetly.
>
> All the help is highly appreciated and thanking you all in advance.
Are CheckoutDate and PaymentDate stored as dates?
.
- References:
- Adding a column in report
- From: hasanainf
- Adding a column in report
- Prev by Date: Re: Arvin Meyer's Good Article For Beginners
- Next by Date: Re: Challenge: SQL STMT for Retrieving Content(SQL) of Saved Queries
- Previous by thread: Adding a column in report
- Next by thread: Re: Adding a column in report
- Index(es):
Relevant Pages
|