-
August 8th, 2005, 02:49 PM
#1
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.
-
August 9th, 2005, 06:09 PM
#2
Registered User
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.
-
August 10th, 2005, 08:53 AM
#3
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.
-
August 11th, 2005, 09:05 AM
#4
Registered User
Can you post the SQL code ( go to SQL view and copy/paste)
All who wander are not lost
What were we talkin bout ?
-
August 12th, 2005, 11:15 AM
#5
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"));
-
August 12th, 2005, 12:26 PM
#6
Registered User
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 ?
-
August 15th, 2005, 02:47 PM
#7
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.
-
August 15th, 2005, 03:57 PM
#8
Registered User
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 ?
-
August 15th, 2005, 04:30 PM
#9
Registered User
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.
-
August 30th, 2005, 02:26 PM
#10
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.
-
August 30th, 2005, 03:10 PM
#11
Registered User
Thanks
Thanks for posting back - thats how we learn
All who wander are not lost
What were we talkin bout ?
Similar Threads
-
By pbandj in forum Removable/Backup Device Drivers
Replies: 0
Last Post: December 3rd, 2004, 09:50 AM
-
By Quattro in forum Microsoft Office
Replies: 4
Last Post: November 3rd, 2004, 11:44 AM
-
By Todo in forum Tech-To-Tech
Replies: 1
Last Post: August 2nd, 2004, 01:09 PM
-
By Qloops in forum Tech-To-Tech
Replies: 1
Last Post: October 30th, 2001, 10:59 AM
-
By paulybumps in forum Windows NT/2000
Replies: 1
Last Post: October 22nd, 2001, 01:56 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks