Re: Crosstab Query Null Values
- From: "Andibevan" <Andibevan@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 16 Oct 2005 01:09:41 +0100
I have the same problem but also need to know how to get rid of an extra
column that has a "<>" at the top of it.
Thanks
"Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx> wrote in message
news:ORo4V$hzFHA.2132@xxxxxxxxxxxxxxxxxxxxxxx
> Switch the crosstab from design to SQL View (View menu).
>
> Add Nz() around the expression in the first line, e.g. change:
> TRANSFORM Sum(tblInvoiceDetail.Quantity) AS SumOfQuantity
> to:
> TRANSFORM Nz(Sum(tblInvoiceDetail.Quantity), 0) AS SumOfQuantity
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Trever B" <TreverB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:05A90EFC-1B70-401A-BADF-0F9146B6C1E7@xxxxxxxxxxxxxxxx
> > When I do a cross tab query it gives me a null if a record does not
exist.
> >
> > How do I change the Null to 0
>
>
.
- Follow-Ups:
- Re: Crosstab Query Null Values
- From: Allen Browne
- Re: Crosstab Query Null Values
- Prev by Date: Re: Show the date closer to today & bigger & smaller than today
- Next by Date: RE: Help with displaying list.
- Previous by thread: Re: how do i get help with querying a database
- Next by thread: Re: Crosstab Query Null Values
- Index(es):
Relevant Pages
|
Loading