Yes, it has indeed to do with the “#” (assuming you are not using SQL but the Servoy search functions).
You need to add it at the beginning of your search string.
if ( controller.find() ) {
mySearchField = "#yourSearchCriteria";
controller.search();
} else {
// couldn't get into find mode
}
Hope this helps.
P.s. beginners questions are very welcome. Remember. There are no stupid questions, only stupid answers.
I hope my answer doesn’t fall in that category