Results 1 to 2 of 2
  1. #1
    sunnyday is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2014
    Posts
    45

    Search a record in main form

    Hi ,


    I have the Navigation form in which resides the Navigation subform inside which users put in the data. Now I want to create a search button in the main form to search a record by ID no which is a number.Users need to edit and update records, so hence will search by ID no. I have tried in the Main form the formula in macro builder for the command button by using Apply Filter function .
    Syntax is

    [ID No] Like "*" &[Forms]![NavigationForm]![NavigationSubform]![Textno] &"*"

    It works fine in the Navigation subform but when opened from Navigation form it asks for parameters as Navigation subform is inside Navigation form

    How can I fix this.

    Many thanks.

  2. #2
    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
    Don't like and don't use navigation form/control. Review https://www.accessforums.net/forms/t...orm-32053.html
    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.

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

Similar Threads

  1. Replies: 11
    Last Post: 02-22-2015, 01:25 PM
  2. search main form using the values in the subform
    By haritbhasin in forum Forms
    Replies: 1
    Last Post: 10-23-2012, 11:48 PM
  3. Main form running a search on Subform
    By Briansa in forum Access
    Replies: 1
    Last Post: 09-20-2012, 10:29 AM
  4. Replies: 3
    Last Post: 08-22-2012, 03:28 AM
  5. Replies: 13
    Last Post: 01-29-2012, 01:45 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