Results 1 to 5 of 5
  1. #1
    halt4814 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    19

    Creating query to print specific records


    I have a form containing thousands of records. Is there a way to create a query that will only display the records that contain data in a specific field. For example, some records have data in this one particular field. Other records do not. I want to make a query that prints the records that do contain data in that specific field. Any help?

  2. #2
    Gary Frazier is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    15
    Use the Is Not Null In the query of the field you have the date and it will only pull the ones with data. Is Null will pull the ones that do not have data.

  3. #3
    halt4814 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    19
    Where is that option at?

  4. #4
    Gary Frazier is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    15
    You will need to build a query against the table where the records are stored and use the Is Not Null in the criteria of the field you want to search from. Include all fields you want to see in the result.

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    1. Create a Query in Design View
    2. Include the appropriate Fields
    3. In the Criteria Box for the Field in question enter <>IsNull([YourFieldName])
    4. Save the Query

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print query records to reports and save as pdf
    By abhay_547 in forum Programming
    Replies: 0
    Last Post: 05-09-2011, 12:00 PM
  2. Query to show only specific records
    By CEV in forum Queries
    Replies: 5
    Last Post: 03-30-2011, 09:42 AM
  3. Query-for specific records?
    By sirnickettynox in forum Queries
    Replies: 6
    Last Post: 03-30-2011, 03:11 AM
  4. Print a specific record
    By NISMOJim in forum Forms
    Replies: 5
    Last Post: 01-28-2011, 04:32 PM
  5. print a specific report
    By cvolkers in forum Reports
    Replies: 4
    Last Post: 09-13-2010, 11:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums