Search layout in FM12
Hi, I wonder how I can make a search and show the result in a custom layout, not only in tab view.
In this post, a custom find layout is created. Makes sense when the Data Entry Layout may have 50 fields, but finds will be done on only 5.
You can also create a custom find results layout and open it in a new window.
Thank´s, but what I ment was if the search results in let say 5 posts I want to see all of them in a new window in a nice custom view.
Why not just finish the script with 'Go To Layout [Your Custom View]'?
And that "Your custom View" layout can be a list or table view layout to present the user with a concise list of all records found by the user's search.
If you set up a list view layout, you can put a button in the body of the layout (or group all the fields in the body and set the group up as a button), and then this button can take the user to a detailed, form view layout of just that one record. Your script can even use Get ( FoundCount ) and switch to the detailed form view layout if just one record is found and switch to the list view layout if more than one is found.
Retrieving data ...