I successfully used the "RapidSearch" technique in my solution (http://forum.servoy.com/viewtopic.php?t=611 - thanks Matt!).
Now I tried to use the same technique when I'm on a form and want to display the result of the search in a tabpanel on the same form, but it didn't work. First I get a "cannot save form data" error, saying "Duplicate entry '0' for key 1" (i don't want to create any record!). When I try again, I get "Search failed... try show all". Performing the search on the form which is displayed in the tabpanel works fine.
What I want to achieve is the following. In a global text field I enter the search criteria, hit enter and the search is performed. If I get one record back, this record is selected for further processing, if I find more than one record, the foundset is displayed in a tabpanel. There I click on the record I want the continue working with.
Moreover, when I click on a record in the tabpanel, I would like to display the corresponding picture on the original form. I will probably best use two buttons (select & show picture)?...
What am I missing here? Does it have to do with the relation between the original from and the tabpanel? Would a different approach be more appropriate here?
Thanks!