Results 1 to 2 of 2
  1. #1
    Eranka is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    150

    Check if a table field is null

    Hi Everyone



    i want to insert a value into table if the column is null else ignore.

    For example

    Name ID Addresss
    Sam 01
    Mike 02 NY


    i want to insert a value into address column for ID 01 instead if updating. how to do this part?

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,778
    In the query design grid for the field you want to update, enter Is Null as criteria. As long as the field does not contain empty strings (rather than Null) it should work. As always, I suggest that you test/learn using copies of such tables and then examine them to see if all is OK.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Set null value for check box
    By Hossein in forum Macros
    Replies: 5
    Last Post: 10-10-2018, 02:17 PM
  2. submit form event to check for null field
    By gunitinug in forum Access
    Replies: 3
    Last Post: 09-16-2017, 05:09 PM
  3. Replies: 3
    Last Post: 06-30-2017, 10:56 AM
  4. Check Table For Field
    By dandoescode in forum Programming
    Replies: 2
    Last Post: 05-22-2012, 01:58 PM
  5. Replies: 3
    Last Post: 01-15-2011, 02:39 AM

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