Results 1 to 2 of 2
  1. #1
    IT_Charlies is offline Novice
    Windows XP Access 2000
    Join Date
    Jan 2013
    Posts
    10

    query for table issues

    Hello i am a novice to Access databasing

    i am running an Access 2000 database on Access 2010. (not sure if this would cause a conflict)

    i need create a query for a table containing 1,372,433 records. on this query i want to get only the records which values are equal to and or grater than 125,000. on the design view of the query on the field containing the values, under criteria i type:
    ( >"125000" )
    however when i run the query i still get amounts less than 125,000 that start with 125XX or 126XX etc.
    on top of the values i also need to sort them by zipcodes.



    so what i need is to get a table which values are greater than or equal to 125,000 and certain zipcodes.
    how can i manage that?

    if u need more information or have questions let me know please.
    thank you in advance for your help and/or suggestions, ITC.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    It sounds like the field is text rather than numeric (the data type). If so, you're going to get alphabetic sorting rather than numeric. My first option would be to change the data type. If not possible, this may work:

    SELECT...
    FROM...
    WHERE CLng(FieldName) > 125000
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Make Table Query Issues
    By Lazor78 in forum Queries
    Replies: 1
    Last Post: 03-01-2012, 07:26 AM
  2. Replies: 4
    Last Post: 12-21-2011, 02:45 AM
  3. Query Issues
    By Dale in forum Access
    Replies: 1
    Last Post: 11-29-2011, 01:35 AM
  4. Table/Report issues
    By Glenwood in forum Access
    Replies: 1
    Last Post: 07-20-2011, 02:59 AM
  5. contact table issues
    By redknite in forum Database Design
    Replies: 5
    Last Post: 06-11-2009, 08:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums