hello all,
i'm trying to set up a parameter query that runs from an input form when you enter a keyword into a text box. basically, i have a field "[composition]" that lists a bunch of components such as C4, C5, C6,....etc. as an example, i'd like to have the user enter "C5" into the text box and have the query list all of the records that contain C5 in the composition field. i should mention that the composition field has been entered with different values separated by a comma, such as
record 1: composition field = C3, C4, C6
record 2: composition field = C6, C7, C8
i tried to do this using the Like() function to build a parameter query. i used the following expression:
Like ([Forms]![keyword search form]![keyword text box entry])
this didn't work, so i then tried adding parentheses and using:
Like ("[Forms]![keyword search form]![keyword text box entry]")
this didn't work either. can someone help me with this. i'm totally confused. any help will be GREATLY appreciated.
thanks everyone
i'm trying to set up a parameter query that runs from an input form when you enter a keyword into a text box. basically, i have a field "[composition]" that lists a bunch of components such as C4, C5, C6,....etc. as an example, i'd like to have the user enter "C5" into the text box and have the query list all of the records that contain C5 in the composition field. i should mention that the composition field has been entered with different values separated by a comma, such as
record 1: composition field = C3, C4, C6
record 2: composition field = C6, C7, C8
i tried to do this using the Like() function to build a parameter query. i used the following expression:
Like ([Forms]![keyword search form]![keyword text box entry])
this didn't work, so i then tried adding parentheses and using:
Like ("[Forms]![keyword search form]![keyword text box entry]")
this didn't work either. can someone help me with this. i'm totally confused. any help will be GREATLY appreciated.
thanks everyone