Results 1 to 4 of 4
  1. #1
    Thomas Mullins is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    2

    Access Search Form Help Needed

    Hello, my name is Thomas.
    I am in need of assistance with the Criteria needed to make my Search form work properly.
    Currently my formula of Like "*" & [Forms]![]![]& "*" works for most fields, but for fields with decimal places and negatives, etc. I am having issues.


    SELECT [Master Table].Category, [Master Table].[FFR Item #], [Master Table].Supplier, [Master Table].[Supplier Item #], [Master Table].Description, [Master Table].Shape, [Master Table].[Length Blade Only Inches], [Master Table].[Length Handle Only Inches], [Master Table].[Length Inches], [Master Table].[Width Inches], [Master Table].[Height Inches], [Master Table].[Diameter Inches], [Master Table].Material, [Master Table].[Material Handle Only], [Master Table].Color, [Master Table].Certification, [Master Table].[FDA Approved], [Master Table].[Dishwasher Safe], [Master Table].[Stock Item], [Master Table].[Use in Hot Case], [Master Table].[Forged/Stamped], [Master Table].[Instruction/Use and Care Sheet], [Master Table].[Temperature Range Low ◦F], [Master Table].[Temperature Range High ◦F], [Master Table].Gauge, [Master Table].[Capacity in Quarts], [Master Table].[Capacity in Ounces], [Master Table].[Domestic/Import], [Master Table].[Country of Origin], [Master Table].MOQ, [Master Table].[Reorder Point/Max], [Master Table].[2017 FFR Catalog Page #], [Master Table].[Dummy Item #], [Master Table].Notes
    FROM [Master Table]
    WHERE ((([Master Table].[FFR Item #]) Like "*" & [Forms]![Search]![FFR Item #] & "*") AND (([Master Table].Supplier) Like "*" & [Forms]![Search]![Supplier] & "*") AND (([Master Table].[Supplier Item #]) Like "*" & [Forms]![Search]![Supplier Item #] & "*") AND (([Master Table].Description) Like "*" & [Forms]![Search]![Description] & "*") AND (([Master Table].Shape) Like "*" & [Forms]![Search]![Shape] & "*"));



    I've tried to attach my file, but I believe it is too large.

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    For number fields, using LIKE doesn't make sense - if the user enters 5.5, what would you expect when you say LIKE 5.5? So for numeric fields you need either equal to or a range (BETWEEN).

    To attach a file, first compact and repair, then zip it. Also, make a copy of it and remove objects that aren't applicable.

  3. #3
    Thomas Mullins is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    2

    File Attached

    I have attached the file in a zip format.
    Please let me know if you can assist.
    Attached Files Attached Files

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Did you make the changes I suggested?

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

Similar Threads

  1. Replies: 8
    Last Post: 09-02-2015, 03:00 PM
  2. Replies: 47
    Last Post: 05-31-2014, 02:22 PM
  3. Help needed : Library catalogue in access format is needed
    By dealers in forum Sample Databases
    Replies: 3
    Last Post: 01-16-2014, 02:03 PM
  4. Google Search Terms Needed
    By hrenee in forum Reports
    Replies: 4
    Last Post: 09-25-2013, 02:38 PM
  5. Replies: 5
    Last Post: 07-13-2012, 01:15 AM

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