Results 1 to 4 of 4
  1. #1
    anastam is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    9

    Question Command button help

    Hello!



    I created a command button for my form to easily search for words throughout my multiples records. I have an additional subform/report on my form that tracks keywords per project. The word search button that I input won't search for words in the subform. Is it possible to have the word search command button search for words in each form, as well as the keyword subform I have?

    Click image for larger version. 

Name:	wordsearch question.png 
Views:	12 
Size:	7.3 KB 
ID:	24126

    Thanks!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Normally, you don't search words in a form. Do you mean search words in the data on the form?
    Or searching using the keyword typed in a box on the form?

    But above you seem to be entering keywords into a table. (ON A FORM)
    you would just run a query joining the above table to the data table.

    BUT
    if you want to search the word given , INSIDE a string in a field, then that's a different set of queries Id have to think on.
    (anyone?)

  3. #3
    anastam is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2016
    Posts
    9
    So on the form, we have fields for project name, year, business, etc. And for each project, we have a subform that contains keywords specific to that project. What we are looking to do is be able to search all the records (currently 41 records) for words either on the form OR within the subform. For instance, I want to search for projects that have year "2013" or that have keyword "completed." Hopefully that provides some clarification.

    I do have tables and queries set up, but we are using this form sheet as our main "dashboard" and were hoping to be able to do everything without leaving the form.

    Thanks!

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    a little tougher.
    then you must know what field to search the keyword.
    so
    [keyword], [field]
    completed, Status
    2015, [proj year]

    for all the work that would go into this,
    you might as well make a form with all the fields names, and boxes for user to enter the keyword.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-29-2015, 07:42 PM
  2. Replies: 1
    Last Post: 09-12-2014, 06:09 AM
  3. Replies: 3
    Last Post: 08-04-2013, 07:11 AM
  4. Button Command
    By JayX in forum Access
    Replies: 7
    Last Post: 12-27-2011, 12:58 PM
  5. Replies: 1
    Last Post: 07-27-2010, 02:27 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