Hi
I have a search form which runs a query [QBF] where the results are displayed in another form. no problem
However i am using a keypress down event to run the search. I need to search by the two fields 'grave number' and 'section'. 'grave number' is a text field and 'section' is a drop down combo box. If I type '4' in the 'grave number' field and TYPE 'B section' in the 'section' field ( or only 'B se' so that the phrase B section automatically appears) the search only returns all records that have the number 4 in them. However if I pick the phrase 'B section' from the drop down list of the combo box then the seach will return what it should - all graves called 4 in B section.
why is it if I type 'B section' in the combo box the search will not work yet if I pick the phrase 'B section' from the drop down list it works?
I very mystified so any help appreciated.
thanks
I have a search form which runs a query [QBF] where the results are displayed in another form. no problem
However i am using a keypress down event to run the search. I need to search by the two fields 'grave number' and 'section'. 'grave number' is a text field and 'section' is a drop down combo box. If I type '4' in the 'grave number' field and TYPE 'B section' in the 'section' field ( or only 'B se' so that the phrase B section automatically appears) the search only returns all records that have the number 4 in them. However if I pick the phrase 'B section' from the drop down list of the combo box then the seach will return what it should - all graves called 4 in B section.
why is it if I type 'B section' in the combo box the search will not work yet if I pick the phrase 'B section' from the drop down list it works?
I very mystified so any help appreciated.
thanks