Find mode and non-related tab panels

Hello,

I have a form that shows a non-related table view in a tab panel. When I enter find mode, that tab panel still shows all data. Is this a feature or a bug?

Thanks
Patrick

P.S.: I realize that no useful search can be constructed if the data in that tab panel has no relation to the data of the current form, but I do find that a bit confusing… I guess the search criteria entered in the tab panel should only be applied to the underlaying form.

Feature.

How else can it work?

Here’s a tip - since you can perform your own method by modifying the “onFindCmd” property of the form - you can pop up your own “search” dialog - that way the user won’t be confused.

You could also HIDE the tabpanel when going into find.

You could also DISABLE the tabpanel when going into find.

Etc.

Hope this helps,

Bob Cusick

How else can it work?

Well, it could do a find inside the table that is not related. Just like we have to take care of what is shown in a non-related tab panel (e.g. do a show all before showing the table), a find in such a table could only be applied to that table WITHOUT any relation to the form I am actually sitting on.

You know, what I mean?

that is also very confusing to the people i think
Because they could think i can type in the main form something and in the tab panel. And this is a combined search.
But no this will not be the case.

With non related tabpanels the developer is in control. You have the specify what must happen with it. Hide, Disable, clear the foundset or set it also in find mode.