Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,954
    I've also had problems with:
    Code:
    If Not IsNull(Me.txtFilterMainName) Then
    so I don't use it
    but never had problems with the following type of code which you left out of your answer
    Code:
    If Nz(Me.txtFilterMainName,"") <>"" Then
    At times I also use
    Code:
    If Len(Me.txtFilterMainName & vbNullString) > 0
    Your belt & braces LenTrimNz approach is certainly covering all bases!
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  2. #17
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by ridders52 View Post
    <snip> belt & braces
    Duly noted and changed!!


Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. 2 questions on input parameters
    By accessmatt in forum Queries
    Replies: 3
    Last Post: 07-14-2014, 08:11 PM
  2. Requery input parameters syntax?
    By hinsdale1 in forum Forms
    Replies: 15
    Last Post: 05-01-2013, 11:56 PM
  3. Replies: 5
    Last Post: 05-18-2012, 07:31 AM
  4. input parameters
    By jassie in forum Access
    Replies: 1
    Last Post: 01-29-2012, 05:40 PM
  5. Input parameters
    By GloriaLuz in forum Reports
    Replies: 0
    Last Post: 11-14-2005, 09:38 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