Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

mysterious fields in result set

Discussion in 'Information Technology' started by Doug Chamberlin, Jul 28, 2006.

  1. Doug Chamberlin

    Doug Chamberlin
    Expand Collapse
    Guest

    Using Access 2003 I've created a query from a linked table. I ask for
    one field and sort on it ascending. When I run the query it shows all
    fields from the linked table!

    Also, if I "group by" the first field and add a second with "count" I
    get an error that I cannot count fields if "*" has been used. However,
    I haven't used * anywhere!

    What's going on? How do I fix it? i want to query just selected fields
    from this table and I want to summarize counts based on selected fields.

    --
     
  2. Loading...

    Similar Threads Forum Date
    Apollo 10 Astronauts Heard Mysterious 'music' On The Dark Side Of The Moon Information Technology Feb 22, 2016
    Christians Must not React to Mysterious Jesus Banners Outside Penang Churches (UPDATED) Interfaith Dialogues Jan 27, 2014
    Nature Mysterious Deep Sea Jets Alter Global Climate Breaking News May 20, 2011
    General The mysterious 13 Hard Talk Sep 5, 2007
    US Defense Department Hiring Resident Aliens in Medical and Language Fields Business, Lifestyle & Leisure Dec 6, 2008

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Doug Chamberlin wrote:
    > Using Access 2003 I've created a query from a linked table. I ask for
    > one field and sort on it ascending. When I run the query it shows all
    > fields from the linked table!
    >
    > Also, if I "group by" the first field and add a second with "count" I
    > get an error that I cannot count fields if "*" has been used. However,
    > I haven't used * anywhere!
    >
    > What's going on? How do I fix it? i want to query just selected fields
    > from this table and I want to summarize counts based on selected
    > fields.


    In the property sheet of the query while in design view turn off the "Output all
    fields" option.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     

Share This Page