Results 1 to 3 of 3
  1. #1
    kgbo is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2013
    Posts
    10

    Question Query Blank Values

    I have created a query that is connecting 3 tables together. These tables are connected to an Excel spreadsheet that when the spreadsheet is changed, the table in Access automatically updates.
    Sometimes a cell in Excel is left blank. Is there a way for the query to change it from a blank cell to the word "Unknown" ?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Try:

    Nz([fieldname], "Unknown")
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Are you asking to update the source Excel spreadsheet, or just change what appears in the query? If the latter, user June's method.

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

Similar Threads

  1. CrossTab Query - Blank Values
    By bullwinkle55423 in forum Queries
    Replies: 4
    Last Post: 07-17-2013, 01:59 PM
  2. Blank duplicated values
    By uframos in forum Queries
    Replies: 3
    Last Post: 03-25-2013, 12:46 PM
  3. Blank Values in Combo Box Selection
    By CementCarver in forum Access
    Replies: 1
    Last Post: 02-28-2013, 01:11 PM
  4. Combo Box showing Blank Values
    By glen in forum Access
    Replies: 5
    Last Post: 11-24-2012, 09:44 AM
  5. Replies: 1
    Last Post: 09-05-2008, 12:07 PM

Tags for this Thread

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