Re: Difference between Crosstab Query and Table Filters?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

A crosstab query generates NEW FIELDS from actual data: the new fields,
horizontally, come from data values (whatever expression you typed after the
word PIVOT in the crosstab query). Since a crosstab also re_group the
fields, the crosstab has generally less record than the initial table, as
does a standard Total query.

A filter use only existing fields, does not create new field. As example, it
would pick only the records that have the value "Seattle" under the field
City.


If the PIVOT is the field City, as example, for the crosstab, then you will
have a new field called Seattle, as example, another one called Paris, and
so on.


A filter would not change the structure of the table, at all, while a
crosstab creates a lot of new fields, eventually.



Hoping it may help,
Vanderghast, Access MVP



"Don S" <nomailhere@xxxxxxxxxx> wrote in message
news:mi1ae15fjqlmh58vn60ltcd20a0da3j3vp@xxxxxxxxxx
>I have a crosstab query that selects data based on the contents of 5
> fields. They aren't complex - simply state code (2 digits), territory
> (0 or 1) etc.
>
> When I run the crosstab query, I get different results than when I use
> filter by selection with the identical selection criteria.
>
> What am I missing? What resource should I study to become more
> familar with the difference between these two approaches?
>
> I am using Access 2003 but the database is in Access 2000 format (I
> didn't convert it).
>
> Thanks!
> Don S


.



Relevant Pages

  • Crosstab Filter Form
    ... I have made several filter forms based Allen Browne's example. ... I don't want my users to need to learn how to make a crosstab query. ... I used a query to make the column headings ... test method tables are joined through a junction table. ...
    (microsoft.public.access.formscoding)
  • Re: Crosstab Query
    ... MS Access MVP ... >> I aslo have a cross tab query which I want to filter to ... > results for just the location specified in the combobox. ... > the combobox to act as a filter on a crosstab query? ...
    (microsoft.public.access.queries)
  • Re: Error: Microsoft jet database engine does not recognize " as
    ... Adding the filter in the crosstab query did not work - I still get the same ... >> Report Propoerties window or would it need to be done through the VB code? ... >>> that might have a null in the field used as column headings. ...
    (microsoft.public.access.reports)
  • Re: Null value in query
    ... SELECT DamagesByTechAllQry.[HX Signature on Paperwork], ... I need is a crosstab query that I can filter by date range. ...
    (microsoft.public.access.queries)
  • Re: Difference between Crosstab Query and Table Filters?
    ... I don't write SQL. ... sum of my crosstab query results does not equal the ... >A crosstab query generates NEW FIELDS from actual data: ... >A filter use only existing fields, ...
    (microsoft.public.access.queries)