A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SQL and Query results don't Match



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2008, 02:57 AM posted to microsoft.public.access.queries
Filo
external usenet poster
 
Posts: 15
Default SQL and Query results don't Match

In a very simple query I entered that I only want to retrieve data for
product 200. After the query runs results show results for product 200 but
also for other products, and I don't understand why. When I export the data
to excel I only see the product 200 results as if the query worked fine. Why
is this happening?
  #2  
Old July 10th, 2008, 01:21 PM posted to microsoft.public.access.queries
Golfinray
external usenet poster
 
Posts: 1,597
Default SQL and Query results don't Match

In your query criteria of that field, put Like 200.

"Filo" wrote:

In a very simple query I entered that I only want to retrieve data for
product 200. After the query runs results show results for product 200 but
also for other products, and I don't understand why. When I export the data
to excel I only see the product 200 results as if the query worked fine. Why
is this happening?

  #3  
Old July 10th, 2008, 01:31 PM posted to microsoft.public.access.queries
Ron2006
external usenet poster
 
Posts: 936
Default SQL and Query results don't Match

I can't figure out what this sentence in your description means.

"After the query runs results show results for product 200 but
also for other products, "

If you are executing a display query, then executing it and showing
results are the same thing.

What are you looking at to "see" results?

Ron
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.