Searchable numbers

Hi to anyone who can help,

I’ve run into a problem with my app. I want to be able to search through numbers in the app database but the function is not available within the search bar. Its formatted so that the event number is a “do a search for last event’s number+1”. Is it possible to somehow format this as text so that the search bar is able to use it as a database result? Any help would be appreciated.