Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2013
    Posts
    14

    Zero String? I cant figure out what is in these blank looking cells.


    I have a table that was imported from an excel document that I did not create. I made the fields Enrolled and Withdrawn so they would not accept zero string but I'll be damned if I can figure out what is in the blank looking cells. Please help. I'm sure it is something obvious.

    Thanks so much.
    Attached Files Attached Files

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    dont import nulls, nor empty strings.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    They have empty string. At least a query set to filter for "" returns records. I had to build another query, couldn't get yours to work.

    I tried to replicate issue by first exporting your table to a text file then importing to new records. The new records have Nulls.
    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.

  4. #4
    Join Date
    Aug 2013
    Posts
    14
    Thanks so much. How do I remove the "" from the cells?

  5. #5
    Join Date
    Aug 2013
    Posts
    14
    Thanks so much for your insightful reply. Can you tell me how I keep from importing nulls or empty strings.

    Thanks so much.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    An UPDATE action:

    UPDATE CMHCRosterForTest SET CMHCRosterForTest.Withdrawn = IIf([Withdrawn]="",Null,[Withdrawn]), CMHCRosterForTest.Enrolled = IIf([Enrolled]="",Null,[Enrolled]);

    Or do you want to delete all the records that have empty string or Null in both fields?

    Not sure how to prevent the empty strings during import. Provide text file for testing.
    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.

  7. #7
    Join Date
    Aug 2013
    Posts
    14
    Thank you so much!

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

Similar Threads

  1. Replies: 2
    Last Post: 08-22-2014, 02:38 PM
  2. Blank cells are Importing
    By Sumanth.Ganjam in forum Access
    Replies: 3
    Last Post: 01-08-2014, 08:04 PM
  3. sum blank cells into query total
    By Orozvik in forum Queries
    Replies: 1
    Last Post: 05-24-2013, 01:25 PM
  4. Query to figure out null cells.
    By chrisfl in forum Queries
    Replies: 1
    Last Post: 04-23-2013, 03:07 PM
  5. Criteria to find when cells are blank
    By Badvgood in forum Queries
    Replies: 3
    Last Post: 12-06-2011, 06:14 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