Results 1 to 4 of 4
  1. #1
    rtcary is offline Advanced Beginner
    Windows XP Access 2002 (version 10.0)
    Join Date
    May 2010
    Posts
    35

    How to create s simple Find Form

    I am in the process of moving parts of an Apache, PHP, MySQL application to Access so others can modify it without knowing MySQl and PHP. My experience using the "programming" features of Access is quite limited, so forgive me if my question(s) are on the simplistic side.

    My first goal is to create a few simple forms with the first being a Find one; one that will do a search for a Business Name (containing a string) against a Query. The results would be displayed in a grid/table view. I have the relational tables in place as well as queries that join them.

    Click image for larger version. 

Name:	Find_Form.png 
Views:	12 
Size:	61.3 KB 
ID:	25459

    Not that fancy -- just plain-jane. Are there some easy help examples?

    Many thanks...

    Todd

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    look to the bottom of the thread - a couple of examples there. Otherwise set your query up as something like

    SELECT *
    FROM myTable
    WHERE ClientName=forms!findformname!txtClientName OR ClientID=forms!findformname!txtClientID

    in the query builder you can use the expression builder to navigate to the correct form and control for the bits in italics

    Then in your find entries control onclick event put

    docmd.openquery "myquerynamehere"

  3. #3
    rtcary is offline Advanced Beginner
    Windows XP Access 2002 (version 10.0)
    Join Date
    May 2010
    Posts
    35
    Thank you! I'll play around with that, though I may have questions about the Form creating part.

    Todd

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Allen Browne has an example of creating a search form
    http://www.allenbrowne.com/ser-62.html

    There is a link to a database and has a link to the code.

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

Similar Threads

  1. Replies: 5
    Last Post: 05-28-2015, 03:27 PM
  2. Simple Find/Add/Edit form???
    By stildawn in forum Forms
    Replies: 69
    Last Post: 11-03-2013, 05:14 PM
  3. Replies: 2
    Last Post: 09-26-2013, 12:49 PM
  4. Replies: 1
    Last Post: 05-20-2013, 01:45 PM
  5. Trying to create a simple Order Form
    By leeli67 in forum Database Design
    Replies: 15
    Last Post: 02-23-2012, 07:38 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