Here's an easy way to keep the search bar enabled at all times when the user opens the database.
1.Open the database in Designer. Then click on the Recent Databases folder.
2.Goto Resources -> Other -> Database Script.
3.Open the Database Script -> Goto PostOpen event.
4.Choose Run Formula and add the following Formula Language
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
@Command([ViewShowSearchBar]; onOff) Parameter: onOff
Specify "1" to show the search bar all the times.