B
Bibi
I have a property management db that includes a work order component .
I am self taught.
There are gaps in my knowledge and understanding but in general the db has
worked really well for 8 years. The users now want to be able to search work
orders by KEYWORD. They want to be able to do this from a form – they do not
want to use the filter icon.
The work order data does not at this time have set keywords and there are
over 30,000 records so reviewing them and adding a selected keyword or words
is not an option.
Two tables are currently involved:
Work Orders and Properties
Fields:
in the Work Orders table
Number
Property ID
Date Reported
Problem
ActionTaken
in the Properties table:
Property ID
Property Name
Address
I have a query that will capture the Problem and Action Taken text in one
field – but now – I am stumped – I do not know how to filter by one let alone
multiple key works –Ideally, the user would like to filter by all or part of
a word and have a drop down box for this....here's the one query I have:
SELECT [Work Orders].Number, [Work Orders].[Property ID],
Properties.[Property Name], Properties.Address, [Work Orders].[Date
Reported], "Problem:" & [Problem] & " Action Taken:" & [Action Taken] AS
ProblemAndOrActionTaken
FROM Properties INNER JOIN [Work Orders] ON Properties.[Property ID] = [Work
Orders].[Property ID];
All help appreciated.
TIA
Bibi
I am self taught.
There are gaps in my knowledge and understanding but in general the db has
worked really well for 8 years. The users now want to be able to search work
orders by KEYWORD. They want to be able to do this from a form – they do not
want to use the filter icon.
The work order data does not at this time have set keywords and there are
over 30,000 records so reviewing them and adding a selected keyword or words
is not an option.
Two tables are currently involved:
Work Orders and Properties
Fields:
in the Work Orders table
Number
Property ID
Date Reported
Problem
ActionTaken
in the Properties table:
Property ID
Property Name
Address
I have a query that will capture the Problem and Action Taken text in one
field – but now – I am stumped – I do not know how to filter by one let alone
multiple key works –Ideally, the user would like to filter by all or part of
a word and have a drop down box for this....here's the one query I have:
SELECT [Work Orders].Number, [Work Orders].[Property ID],
Properties.[Property Name], Properties.Address, [Work Orders].[Date
Reported], "Problem:" & [Problem] & " Action Taken:" & [Action Taken] AS
ProblemAndOrActionTaken
FROM Properties INNER JOIN [Work Orders] ON Properties.[Property ID] = [Work
Orders].[Property ID];
All help appreciated.
TIA
Bibi