Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
  1. #31
    WithoutPause is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2013
    Posts
    62
    I think I've tried just about very combo for the Like code and nothing works.



    Code:
    strWhere = "Like "" * """

  2. #32
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Sorry, LIKE and wildcard might not work nice with date/time criteria. I don't use dynamic parameterized queries so not sure.

    I use only the VBA conditional approach.

    If you want to provide db for analysis, follow instructions at bottom of my post. Identify objects involved in issue.
    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. #33
    WithoutPause is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2013
    Posts
    62
    I still have the issue where my passing of data works, but it doesn't show until I play with the Filter Toggle or rerun the previous process.

  4. #34
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Have to analyze code if you want to provide. See post 32.

    Refer to link at bottom of my post for debugging guidelines.
    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.

  5. #35
    WithoutPause is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2013
    Posts
    62
    I went back and read the Allen Browne stuff and realized that code was using the same form. I am passing the info to a second form. I ended up passing the where statement via OpenArgs and then doing a filter on the second form. Now I just need to handle no search criteria being based and returning all records.

  6. #36
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why use OpenArgs? Why not the WHERE CONDITION argument?
    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. #37
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    If no OpenArgs are passed, then just set the filter off.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to Input Multiple Same Fields in one form?
    By butterbescotch in forum Forms
    Replies: 1
    Last Post: 11-01-2013, 01:15 AM
  2. Searching Using a Query in Multiple Fields
    By RossIV in forum Queries
    Replies: 10
    Last Post: 07-24-2013, 06:32 AM
  3. Input Forms - How To Input Multiple Fields/Records?
    By butterbescotch in forum Forms
    Replies: 1
    Last Post: 04-04-2013, 06:30 AM
  4. Replies: 1
    Last Post: 01-12-2012, 04:05 AM
  5. Replies: 8
    Last Post: 12-05-2011, 01:55 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