Jump to content

Search fields inside a Popup


Morenomdz
 Share

This topic is 2793 days old. Please don't post here. Open a new topic instead.

Recommended Posts

This is a very begineer post, but here it go!

 

Can I make a text field a search field in a layout in browse mode? I want it to be a search box that stays on the header all the time that instant search one specific field without having to go into find mode or change layouts. Then, if that is possible, could I have few of those searchboxes inside a popup menu?

I saw few examples of the quickfind search field showing inside layouts but I really couldnt figure out how to reproduce it!

What I tried so far is having the fields I want to search into the popover with a button that perform the search, it simple says nothing found, how to get the content from the text field and search it is the problem!

Link to comment
Share on other sites

I've got it working with this:

 

Set Error Capture [ On ] 
Set Variable [ $os1; Value:MadTuto_search::quicksearch ] Enter Find Mode [ ]
Set Field [ MadOsApps::OS; $os1 ]
Perform Find [ ] 
If [ not Get ( FoundCount ) ]
Show Custom Dialog [ Title: "Ok"; Message: "None."; Default Button: “OK”, Commit: “No” ] 
End If 

Where MadTuto_search::quicksearch is a global field just for that search and MadOsApps::OS the main table and record ID field.

 

What is weird is that sometimes, rare, when I type something on the "search field" and enter, it will save that input into the field on the main table instead of going to the global field on the other table. Overall it is working I just need to debug why it is inserting the text sometimes.

Link to comment
Share on other sites

This topic is 2793 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.