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  dBforums > PC based Database Applications > Microsoft Access > Help with queries?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-11, 12:36
stud0507 stud0507 is offline
Registered User
 
Join Date: Apr 2011
Posts: 3
Help with queries?

Im fairly new to access,
am running access 2007, and i want to create a query that will look up a field i have in my accident report table called "manager informed" the manager informed data type is set to yes/no, and i want the query to look at this field and display the data from this field that has not been selecetd. (the box has not been ticked)

any help is greatly apprectciated, many thanks!
Reply With Quote
  #2 (permalink)  
Old 04-28-11, 12:56
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
If I correctly understand what you want, it should be something like:
Code:
SELECT * FROM [Accident Report Table] WHERE [Accident Report Table].[manager informed] = False;
I don't know what the actual name of the table is, though.
__________________
Have a nice day!
Reply With Quote
  #3 (permalink)  
Old 04-28-11, 13:02
stud0507 stud0507 is offline
Registered User
 
Join Date: Apr 2011
Posts: 3
query

thanks for the quick reply,
i dont want a messege box to open upon running the query i just want it to search the table and display the the field under informed manger that have not had a tick in the box on the table.
many thanks

when i entered the code you gave me a messge box appeard sayin the following enter paramter value:
Accident Report TBL.Manager Informed
Reply With Quote
  #4 (permalink)  
Old 04-28-11, 14:59
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
You have to adapt the code I provided to match the name of your table and the names of its columns. If there are spaces in one or several of those names, they must be enclosed between square brackets: [one name]
__________________
Have a nice day!
Reply With Quote
  #5 (permalink)  
Old 04-29-11, 10:00
stud0507 stud0507 is offline
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks

thanks for the help, i ended up doing it in design view by adding the tables and then in the parent infomed field critria i just enetered =false and it displays what i required, many thanks for your help
Reply With Quote
  #6 (permalink)  
Old 04-29-11, 12:26
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
You're welcome!
__________________
Have a nice day!
Reply With Quote
Reply

Tags
access 2007, query

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On