Results 1 to 8 of 8
  1. #1
    Hughie is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2014
    Posts
    4

    Question Display multiple rows based on search box dialog

    Dear experts,
    I need to insert search box dialog that will do full text search in my table and based on results (if some of the cells contains typed character string) selected records (multiple) will be displayed at the same time.

    Is there any way how to do this simply please? I know I can use filtering but this is not what I am looking for - need to do this as simple as possible so even noob can use the database.

    Thnx a lot for any ideas!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Hughie, Welcome to the forum.
    Please tell us more about your table and database.

  3. #3
    Hughie is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2014
    Posts
    4
    Thnx for warm welcome!

    Well I got quite a big table (so far the only one table in my database) with around 40 columns and 5000 rows... Some of the fields have names like Name1, Name2, Name3 and these are the fields I need to search in. If the searched string will be included in some of the columns (not exact match, just included in) I would like to display these records all together in one form and also edit these records in that form.

    So basically I would like to have search box in split form - upper part will include this search box together with some form design, in lower part there will be displayed all records which includes searched string.

    Hopefuly I explained this enough..

    I dont have much experience with Access. Just got some basic training and doing another by self study
    Last edited by Hughie; 07-03-2014 at 06:19 AM. Reason: spelling

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    With fields such as name1, name2, name3... -- this is a red flag that your data is NOT Normalized. In order to use Access and any dbms efficiently, you really need your tables designed properly.

    Here is a tutorial you should work through to help with database design and normalization. You have to work through it to understand what's involved.
    Good luck.

  5. #5
    Hughie is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2014
    Posts
    4
    Well of course the names are different in reality, this was just as an example.
    In fact they are a little bit complicated that's why I used just the example...

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Perhaps you could show us your table design via screen capture/jpg.

  7. #7
    Hughie is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2014
    Posts
    4
    Attached is design view of my table. I marked VinNumber and PartNumber fields - based on this two fields I would like to search and display the appropriate records (which will contain searched entry).
    Attached Thumbnails Attached Thumbnails screen.jpg  

  8. #8
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Most experienced developers will tell you that a Table with more than 20-25 Fields is almost assuredly non-normalized, and that is definitely the case, here! At a minimum, it appears that you need a second Table for the storing of all of the 'parts' data. You'd need to have the ID Field, from your current Table, as a Foreign Key, in the parts Table.

    You'd then use a Main Form/Subform configuration to add, edit and display Records.

    Linq ;0)>

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

Similar Threads

  1. Replies: 4
    Last Post: 02-25-2014, 01:09 AM
  2. Filtering query based on multiple rows values
    By GeorgeB in forum Queries
    Replies: 6
    Last Post: 12-05-2013, 06:17 PM
  3. Search records based on multiple check boxes
    By maytricks in forum Access
    Replies: 4
    Last Post: 01-14-2013, 07:26 PM
  4. Display multiple rows into seperate columns
    By levinkev in forum Queries
    Replies: 1
    Last Post: 08-30-2012, 11:02 AM
  5. Help : Query based on data from multiple rows
    By GeorgeB in forum Queries
    Replies: 7
    Last Post: 03-28-2012, 11:27 PM

Tags for this Thread

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