Hi All
I have been asked by my company to introduce a type of search on one of our main forms, what they would like is a button and text box. The search item gets typed into the text box then once the search button has been clicked it will search a particular view and field for all instances of the word in the text box, this should then bring up a dialog box with the search results, this will allow the user to select one of the results which will then populate the fields on the form.
My first thought was using a picklist which did work, but unfortuantly a picklist does not do a free text search, it only matches the word. So for example if I searched for card it would display matches for the word card but not words like cardoard, precard ect ect.
My second thought was using the button to run an agent.
The agent would do an FTsearch based on the word in the text box using the * wildcard for anything that the word was in. Then the results of this worlb be place in a private folder and a picklist would be used to display the result of the folder so the user could pick the information needed to populate the form.
But I just can not figure out how to do the above, I would need everything done in the backgroud so the user was always on the main form and when the search button is clicked all they would see is the picklist with the results. I have tried different coding for the agent but all come up with the same error that they need to be run from within a view.. I need it to be run from within the form.
Sorry know its a bit long wifted.
Hope you can help
Regards
Djbell
I have been asked by my company to introduce a type of search on one of our main forms, what they would like is a button and text box. The search item gets typed into the text box then once the search button has been clicked it will search a particular view and field for all instances of the word in the text box, this should then bring up a dialog box with the search results, this will allow the user to select one of the results which will then populate the fields on the form.
My first thought was using a picklist which did work, but unfortuantly a picklist does not do a free text search, it only matches the word. So for example if I searched for card it would display matches for the word card but not words like cardoard, precard ect ect.
My second thought was using the button to run an agent.
The agent would do an FTsearch based on the word in the text box using the * wildcard for anything that the word was in. Then the results of this worlb be place in a private folder and a picklist would be used to display the result of the folder so the user could pick the information needed to populate the form.
But I just can not figure out how to do the above, I would need everything done in the backgroud so the user was always on the main form and when the search button is clicked all they would see is the picklist with the results. I have tried different coding for the agent but all come up with the same error that they need to be run from within a view.. I need it to be run from within the form.
Sorry know its a bit long wifted.
Hope you can help
Regards
Djbell