Build a simple Search engine in ax2009

I have a form which has a string edit field…i want to match the typed text in the field with the list of strings…

suppose if there is a string like “INVENT TABLE” in the list of strings

i type “NVE” in the string edit filed…

it shud retrieve all the strings from the list that contain the typed three letters…

like “NVE” ==> I “NVE” NT TABLE

can someone please help me with the x++ code to do this??

Thank You!!!

why do you want a custom search, when you have the standard filtering option , use filter by field(right click on the field) and then search with NVE

hie kranthi i have a xml which has interfaces as parent node and classes as child nodes for dat particular interface…i generated a list of interfaces… whose type is string…if i type a mix of characters in string edit it shud search in the list and display the matching string pattern of interfaces…