Hi everybody,
I need to create a query that will search based on keywords and major categories. My tables are set-up as follows:
tblLiteratureAr ticles:
I hope I made the relationships clear. Okay, so I have a form (Form1) with a text box for users to type in keyword(s) separated by commas. I also have a subform based on an update query (subfrmLitCateg ories), which has the [MajorCategory] field and the [Selected] Yes/No field to allow users to choose any combination of major categories.
I need to have a subform based on a query that will filter records based on the keywords typed in the text box and the major categories chosen in the subform. Is this possible? Are my table relationships correct to create a query to do this job? If so, how do I do it?
Thanks for your help/suggestions!
I need to create a query that will search based on keywords and major categories. My tables are set-up as follows:
tblLiteratureAr ticles:
Abbreviation(FK )
ArticleID(PK)
Author
Title
etc...
tblArticleKeywo rd (Join Table btn tblLiteratureAr ticles & tblKeywords)ArticleID(PK)
Author
Title
etc...
ArticleID
Keyword
(these two create a composite key)
tblKeywordsKeyword
(these two create a composite key)
Keyword(PK)
tblLitCategorie s (one-to-many relationship with tblLiteratureAr ticles)MajorCategory
Abbreviation(PK )
Selected(Yes/No field)
Abbreviation(PK )
Selected(Yes/No field)
I hope I made the relationships clear. Okay, so I have a form (Form1) with a text box for users to type in keyword(s) separated by commas. I also have a subform based on an update query (subfrmLitCateg ories), which has the [MajorCategory] field and the [Selected] Yes/No field to allow users to choose any combination of major categories.
I need to have a subform based on a query that will filter records based on the keywords typed in the text box and the major categories chosen in the subform. Is this possible? Are my table relationships correct to create a query to do this job? If so, how do I do it?
Thanks for your help/suggestions!
Comment