Results 1 to 3 of 3
  1. #1
    Filmnoir is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    21

    Help with Search buttons and forums

    Hi All,



    I'm struggling to create a search function within a form. I've looked at the examples on the forums and they are either to complicated or haven't worked.

    I'm trying to use 'Search' Form to look for 'Consultant_Name' in Query 'Skills_All_Search'. Once clicked it will display the consultant record in 'Search_Consultant_Form'.

    Also I want to be able to add to 'Search' Form drop downs for all the remaining fields in 'Skills_All_Search' (For box Choose Consultant Skills) and/or the value (Either B;I;E) of the fields.

    This search function should pull just the list of consultant names for the criteria picked.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Your database is in trouble. You should have a table that lists all your personnel and that table should have a primary key, that primary key should then be your search field which can be selected with a combo box. Typing in people's names into your skills table is a bad, bad, bad idea.

    Here's a copy of your database back with a consultant table. The LIKE statement in your query will show ALL records if no person is chosen and only select the chosen person if there's something on your SEARCH form. The same method can be applied to the other fields in your search

  3. #3
    Filmnoir is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    21
    Thanks, funny enough I had a second table like you recommended, but took it out as I was having trouble with the search. I'll have a look and see how I can change and add to it. Thanks.

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

Similar Threads

  1. Guidance on searching MS and Forums for Answers
    By ajetrumpet in forum Tutorials
    Replies: 0
    Last Post: 08-21-2011, 07:56 PM
  2. Menu buttons
    By lwcollin in forum Access
    Replies: 3
    Last Post: 07-11-2011, 10:58 AM
  3. Command Buttons
    By BLD21 in forum Access
    Replies: 2
    Last Post: 05-10-2011, 06:27 AM
  4. Buttons
    By dunnmel4 in forum Access
    Replies: 1
    Last Post: 04-07-2011, 12:27 PM
  5. Replies: 2
    Last Post: 08-31-2010, 08:57 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