Results 1 to 3 of 3
  1. #1
    mgio is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Posts
    13

    run time error "2427" expression has no value


    Getting this error when my subform should be returning a blank value so that the user can input against the subform to create new entries. If tried numerous fixes and haven't found any, Does anyone maybe know a workaround? like a way to ignore the error and proceed? Any Help is greatly appreciated

  2. #2
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528
    See the name of the subform and make sure it has a good Maybe you copied to another subform new form

  3. #3
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    If you want to ignore the error, look for the routine where the error occurs, then trap the error with On error Go to ....

    In the error handler part of your code, you could do something like this:

    If Err.Number = 2427 then
    Exit Sub
    Else
    ' display error message
    endif

    That does not really "ignore" the error, but nothing happens in the event that it occurs.

    HTH

    John

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

Similar Threads

  1. Replies: 1
    Last Post: 03-14-2013, 12:39 PM
  2. Replies: 2
    Last Post: 03-08-2013, 12:59 PM
  3. Replies: 4
    Last Post: 07-25-2012, 04:01 AM
  4. Replies: 13
    Last Post: 12-05-2011, 05:10 AM
  5. Replies: 2
    Last Post: 05-17-2011, 02:40 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