> Do I type ">=800 and <=750" Without the "" No, and that is nothing like your original example (or my response for that matter). That's looking for values that are >=800 AND <=750 AT THE SAME TIME - which is an impossibility. >=750 and <=800 would possibly be what you want. But what do you mean by "I cannot get one that works"? You've got to describe precisely what you mean. Does it give an error? Does it return all records? Does it return no records? Does it return some (the wrong) records? Or what? And please provide exact copy/paste of any conditions you are typing in. We can't spot an error if we can't see EXACTLY what you're trying to use. And also, please describe the way the field you're checking is defined in the database. (I,e, is it numeric, and if so exactly what, or is it text?) This might possibly be significant. Regards, Dave S ----- Original Message ----- From: "Richard Howard" <rhoward@xxxxxxxxxxxxxxxxxx> To: <mso@xxxxxxxxxxxxx> Sent: Wednesday, January 13, 2010 9:48 PM Subject: [mso] Re: MS Acsess 07 queries >I cannot get one that works > > Do I type ">=800 and <=750" Without the "" > > Richard A Howard > European Retail Marketing Manager > > > -----Original Message----- > From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf > Of David Smart > Sent: 13 January 2010 10:30 > To: mso@xxxxxxxxxxxxx > Subject: [mso] Re: MS Acsess 07 queries > > Assuming you want it between - and including - 750 and 800 then you need > >= > and <= respectively. > > There is also a "between" keyword in SQL, although it mightn't be > available > in the query you're creating. > > What do you mean by "... but that does not work"? What exactly does it do > for specific test values of the score field. (I take it that "score" is a > field in the record?) > > Regards, Dave S > > ----- Original Message ----- > From: "Richard Howard" <rhoward@xxxxxxxxxxxxxxxxxx> > To: <mso@xxxxxxxxxxxxx> > Sent: Wednesday, January 13, 2010 9:21 PM > Subject: [mso] MS Acsess 07 queries > > >> Hi there >> >> I am writing a query that I am sure is really easy. I want to select >> results that are in a number range. For example, I want to pull back >> records with a score between 750 and 800. I would think it would be >750 >> <800- but that does not work. >> >> I do not use the wizard for queries, I type it directly into the query >> grid. >> >> Can anyone help out there? >> >> Richard A Howard >> European Retail Marketing Manager ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, visit the group's homepage and use the dropdown menu at the top. This will allow you to unsubscribe your email address or change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to share files with the group, you must join our Yahoo sister group. This group will not allow for posting of emails, but will allow you to join and share problem files, templates, etc.: http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE SHARING ONLY. If you are using Outlook and you see a lot of unnecessary code in your email messages, read these instructions that explain why and how to fix it: http://personal-computer-tutor.com/abc3/v28/greg28.htm *************************************************************