Simple Query Error

ronquart

New Member
Joined
May 1, 2008
Messages
15
I am creating a simple query on one table and I keep getting "The setting you entered isn't valid for this property." error message. After I click OK the query seems to run properly. I can't figure out what I am doing wrong....


I have Field: Rates.*
and Table: Rates

and Field: File_Number
and Table Rates

listed and the Show: box is checked on the Rates.* column

and Criteria: 743 under the File_Number with the Show box not checked.

I tried to post a screenshot but I don't have permission to post an attachment....

Any insight would be appreciated. Thanks!

Ron
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try changing your query to SQL View, and copy and post the resulting SQL Code here.
 
Upvote 0
What is the Data Type (in your Table Properties) for the File_Number field?
Do you have any errors, blanks, or weird entries in this File_Number field?
 
Upvote 0
It is showing a Data Type of Number. I will check the table to see if all 2.5 million + rows match that data type.
 
Upvote 0
The setting you entered isn't valid for this property.
This doesn't sound like it's related to the query you posted, as far as the SQL goes (and it seems the query actually does work after you click okay). I'd recommend you rebuild the query from scratch. Also, is this a query by itself or are you doing something else (such as building a form or report? -- if so the problem is probably something else).
 
Last edited:
Upvote 0
Did you rebuild the query from scratch as suggested? Still getting the error or not?
 
Upvote 0
Can you open the Table directly without any errors?
If you get errors trying to open the Table, then the issue is not with the Query but rather with the Table itself. Maybe you have some bad data on errors in certain fields.

If you can open the Table without problems, try running this query and see if it works.
Code:
[COLOR=#333333]SELECT Rates.[/COLOR][COLOR=#333333]File_Number[/COLOR]
[COLOR=#333333]FROM Rates[/COLOR]
[COLOR=#333333]ORDER BY Rates.File_Number;[/COLOR]
This simply creates a query that only returns the File_Number field, and sorts by it.
Check the first and last records in that query to make sure they don't look funny.
 
Upvote 0

Forum statistics

Threads
1,214,886
Messages
6,122,093
Members
449,064
Latest member
Danger_SF

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top