Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2005

Tip: Looking for answers? Try searching our database.

What can I enter in a promp criteria for the query to show all?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Genio - 15 Nov 2005 21:29 GMT
I have made a Query out of a list of clients and have also selected a
"criteria" [Please Input Last Name:] but what if I whant to see the complete
list? What can I write so that the query will show all the data? (meaning,
not filtered)
Ofer - 15 Nov 2005 21:38 GMT
Try this
SELECT TableName.*
FROM TableName
WHERE TableName.FieldName Like IIf([Please Input Last Name:] Is
Null,"*",[Please Input Last Name:])

Signature

I hope that helped
Good Luck

> I have made a Query out of a list of clients and have also selected a
> "criteria" [Please Input Last Name:] but what if I whant to see the complete
> list? What can I write so that the query will show all the data? (meaning,
> not filtered)
John Vinson - 15 Nov 2005 22:20 GMT
>I have made a Query out of a list of clients and have also selected a
>"criteria" [Please Input Last Name:] but what if I whant to see the complete
>list? What can I write so that the query will show all the data? (meaning,
>not filtered)

Try using a criterion

= [Please Input Last Name:] OR [Please Input Last Name:] IS NULL

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.