search command

Hi,

I have a problem on search’s form. When I start the find, I have a error:
Search failed… try show all
java.lang.NullPointerException

Actually, I have a form with one field. the dataprovider of this field is none.

I set to ‘none’ the dataprovider because when I launch the search method, I add some code to the field. Example, I start a find, I type ‘titi’ in the search field, and I start the search method. This method change ‘titi’ to ‘#%titi%’.

It worked fine before Version3 of Servoy.
thanks

Hi,

what about using a ‘virtual table column’ as a search field? This would probably get around this problem. See other posts on forum, or (I think) Marcel’s Tips and Tricks presentation from the Servoy Developer Conference.

Or use a global as dataprovider.

Or an input dialogbox.

Hi,

I will use a global as dataprovider.

Thanks