Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32
  1. #31
    rawlstonb is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Nov 2018
    Posts
    55
    Actually I had it correct with the relationships I'm pretty sure.... I just mislabeled all the primary keys as foreign keys lol.... I misunderstood what you were trying to get me to label it as :P

  2. #32
    rawlstonb is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Nov 2018
    Posts
    55
    Click image for larger version. 

Name:	Capture.JPG 
Views:	14 
Size:	89.5 KB 
ID:	45850
    OK.... So.... I found a good solution to the search option but I'm stuck on how to implement it because of the table design... the goal is to have one search box that can search through 3 different queries and filter a list box on the form by returning positive primary key results from tblSyncPairs.SyncPairID

    https://www.access-programmers.co.uk...fields.188663/
    In this design, you create a single table with all your searchable fields and search-as-you-type the string with OR modifiers... simple, clean, effective, easy to implement...

    The problem is, I need the search box to search in: tblThemes.Theme, tblMoves.Moves, tblMoves.Effect, tblPassives.Passive, and tblPassives.Effect... and all of these have one-to-many relationships to the tblSyncPairs.SyncPairID that I want the results to filter...

    These tables are currently linked in proper one-to-many queries with a Primary Key of tblSyncPairs.SyncPairID in qryMoves, qryPassives, and qryThemes... if I add them all together in one table, they cross-reference each other, as predicted, and create a bagllion records...

    OK, SO....

    frmSearch is the search form... lstSearch is the listbox I want to filter... txtSearchFor is the visible search-as-you-type box... txtSearchText is the invisible dummy box... (as described in the example I referenced) the listbox is gathering data from qrySearchSyncs...

    I need a way for the search text to search the given values in > qryMoves, qryPassives, and qryThemes.... then it needs to take the SyncPairIDs that are left, turn them into Unique Values, and filter qrySearchSyncs...

    Is that possible? If so, what's the cleanest way of doing this?

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 17
    Last Post: 12-23-2018, 05:02 PM
  2. Replies: 16
    Last Post: 01-29-2018, 03:12 PM
  3. Organizing my data in table - normalization?
    By adame in forum Tutorials
    Replies: 8
    Last Post: 06-15-2017, 02:57 PM
  4. Normalization for large amount of data
    By kvollene in forum Database Design
    Replies: 8
    Last Post: 07-01-2016, 01:18 PM
  5. Data normalization, ie; duplicate records
    By snowboarder234 in forum Database Design
    Replies: 1
    Last Post: 08-05-2013, 04:50 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