Access 2000 problem
Results 1 to 11 of 11

Thread: Access 2000 problem

  1. #1
    Registered User
    Join Date
    May 2001
    Location
    PA
    Posts
    46

    Access 2000 problem

    A user has an Access query that returns multiple items instead of just the item requested. The query works correctly on another pc. Could there be a corrupt file (dll) on his pc that is causing this? any help would be appreciated.
    Thanks
    Last edited by tls68; August 8th, 2005 at 02:51 PM.

  2. #2
    Registered User slgrieb's Avatar
    Join Date
    Feb 2003
    Posts
    4,103
    Yet another toughie! Love floundering aimlessly. Are you sure the query is identical on both machines? I doubt that you have a dll issue. I would say you have a problem with the syntax of the query or the structure of the database.

  3. #3
    Registered User
    Join Date
    May 2001
    Location
    PA
    Posts
    46
    Guess I could have put some more info into this. This is actually a simple query, pulling one piece of data - an org code -- from one table. Instead of getting only the code queried, five different ones appear. It seems that it just doesn't work right on his machine.

  4. #4
    Registered User Grateful_Dad's Avatar
    Join Date
    Jul 2003
    Posts
    99
    Can you post the SQL code ( go to SQL view and copy/paste)
    All who wander are not lost

    What were we talkin bout ?


  5. #5
    Registered User
    Join Date
    May 2001
    Location
    PA
    Posts
    46
    Here's the code:

    SELECT PROD_V_SITE_INVENTORY.NIIN, PROD_V_SITE_INVENTORY.UIC, PROD_V_SITE_INVENTORY.ON_HAND
    FROM PROD_V_SITE_INVENTORY
    WHERE (((PROD_V_SITE_INVENTORY.UIC)="W3142"));

  6. #6
    Registered User Grateful_Dad's Avatar
    Join Date
    Jul 2003
    Posts
    99
    And what does the uic column (on the multi-record machine) say ?
    Does it show W3142 for each 'repeated record' ?
    All who wander are not lost

    What were we talkin bout ?


  7. #7
    Registered User
    Join Date
    May 2001
    Location
    PA
    Posts
    46
    No it give various UIC numbers instead of just W3142. I don't think it's repeating records, its just returning more than those records with UIC of W3142.

  8. #8
    Registered User Grateful_Dad's Avatar
    Join Date
    Jul 2003
    Posts
    99
    Can you post the other UIC numbers that are returned. Your SQL looks fine. IS PROD_V_SITE_INVENTORY a table or a view ? I would look at the table using Design Mode and check the column definition. Got to be something overlooked - I haven't seen a corrupted DLL cause that sort of problem.
    All who wander are not lost

    What were we talkin bout ?


  9. #9
    Registered User El_Squid's Avatar
    Join Date
    Aug 2004
    Location
    Tornado Alley
    Posts
    2,079
    Quote Originally Posted by Grateful_Dad
    Can you post the other UIC numbers that are returned. Your SQL looks fine. IS PROD_V_SITE_INVENTORY a table or a view ? I would look at the table using Design Mode and check the column definition. Got to be something overlooked - I haven't seen a corrupted DLL cause that sort of problem.
    Could be squirrely string comparison problems as he is using "=" rather than a "like" operator. Sometimes this is enough to throw a Query off, depending on the references in the local mdb or mde file.
    I didn't surrender, but they took my horse and made him surrender. They have him pulling a wagon up in Kansas I bet.

  10. #10
    Registered User
    Join Date
    May 2001
    Location
    PA
    Posts
    46

    Red face

    Been awhile since I posted here. but just found out that he was pulling data using an older odbc driver that was most likely corrupting the data. When I used the ODBC driver version 8, everthing worked fine. so I told him not to use the old connection anymore. So I think this problem is solved. I have another one I'll probably be posting soon.

  11. #11
    Registered User Grateful_Dad's Avatar
    Join Date
    Jul 2003
    Posts
    99

    Thanks


    Thanks for posting back - thats how we learn
    All who wander are not lost

    What were we talkin bout ?


Similar Threads

  1. Windows 2000 to XP floppy problem
    By pbandj in forum Removable/Backup Device Drivers
    Replies: 0
    Last Post: December 3rd, 2004, 09:50 AM
  2. Outlook 2000 import problem
    By Quattro in forum Microsoft Office
    Replies: 4
    Last Post: November 3rd, 2004, 11:44 AM
  3. Outlook 2000 problem
    By Todo in forum Tech-To-Tech
    Replies: 1
    Last Post: August 2nd, 2004, 01:09 PM
  4. Problem installing office 2000 on a Win2000 laptop
    By Qloops in forum Tech-To-Tech
    Replies: 1
    Last Post: October 30th, 2001, 10:59 AM
  5. WIN 2000 Install problem
    By paulybumps in forum Windows NT/2000
    Replies: 1
    Last Post: October 22nd, 2001, 01:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •