Results 1 to 10 of 10
  1. #1
    Don Webb is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    11

    Need search help

    Been trying to use Allen Browne's search to help build a form to check sport field use. I wanted to be able to type a date and have it show me what fields are available. To be honest, I am not only new to access, I am a really slow learner. My table has the following fields. Calendar, Field and User. Thats all. Any help would be truly appreciated.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,617
    Show the link to the Allen Browne info.

    Show the SQL statement for the query you attempted.
    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. #3
    Don Webb is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    11

  4. #4
    lebmelo is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2011
    Posts
    1
    Try attaching your db that you have built at this point. I have used the Allen Browne search function in 3 different databases and had a bunch of success. That said like you I'm not a guru and I have to see to assist rather than read any possible issues.

  5. #5
    Don Webb is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    11
    I tried copying the form and the code into my database and replacing the search fields with my field, didn't work real well. What am I missing?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,617
    We don't have enough information to advise. Can you provide project for analysis?

    Otherwise, you need to debug. Link at bottom of my first post is a good tutorial on debugging techniques.
    Last edited by June7; 10-27-2011 at 03:17 PM.
    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. #7
    Don Webb is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    11
    Attached file. Want to be able to create a form where we can type in a dates and see what fields are in use. Thanks for everyone's help.

    Don

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,617
    You did not provide form and code, just a table.

    Another example can be found at: http://www.datapigtechnologies.com/AccessMain.htm
    Look at 'Build a Custom Filter in Your Form' and 'Creating a Basic Search Form' in the section Access Forms: Tips and Techniques.
    The 'query method' Allen refers to is utilized.

    There is no need to save the Day in table. This can be retrieved with function: Format(datefieldname,"dddd")

    Why is the date field named Name? Name is a reserved word, should not be used as field name.

    The query you want is basic and Access Help has guidelines on building queries.

    We will analyze your effort but not going to build for you.
    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.

  9. #9
    Don Webb is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    11
    Thanks to all for the ideas and info. I was able to get things up and running. Will say I have a lot of studying to do if I going to be doing much of this.

    Thanks again for the help!!!

    Don

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,617
    Search Access Help for topic 'Introduction to Programming in Access'. This offers a fairly good primer on programming options in Access.
    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. Search
    By nashr1928 in forum Reports
    Replies: 5
    Last Post: 08-29-2011, 11:35 AM
  2. search
    By simba in forum Access
    Replies: 12
    Last Post: 08-23-2011, 07:13 PM
  3. Replies: 4
    Last Post: 03-17-2011, 06:17 AM
  4. Replies: 2
    Last Post: 08-31-2010, 08:57 PM
  5. Search
    By DWS in forum Forms
    Replies: 3
    Last Post: 08-24-2009, 12:07 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