Hiding Tabs in Tabbed Table

Hi Domino Gurus,

We are facing an issue hiding tabs from tabbed table based on dialog list value selection.

In short depending upon the select value only that tab has to display, furthermore there are 4 tabs.

Initially we tried using a computed for display field that stores portion of the dialog list field value, later used the computed for display field to hide the tabs.

To our surprise it does work, however displays other tabs as well.

Is there any way/workaround to resolve this issue?

Many thanks in advance.

Thanks & Regards,

Pervela Mallik Ram Sharma

Subject: Hide-When

The easiest would be (I think) to use a regular hide-when. Remember, a tabbed table is just like any other table, so if you hide the row, I would imagine the tab would be hidden.

Subject: Hide-When Tabbed Table

Hi Karl,

Thanks for your suggestion.

Ideally the way you suggested is supposed to work for us, however tabbed table is pretty strange in its behaviour.

It does not hide other tabs although the hide when formula is true.

Is there any technote or workaround to fix the issue?

Thanks,

Pervela Mallik Ram Sharma

Subject: I don’t really understand you…

I get it to work perfectly.You say “It does not hide other tabs although the hide when formula is true.”

I am not sure what you mean by that…

Here is a Notes database (in ODS51, since I am using Notes 8.5.3), with a form, containing two tabbed tables that work perfectly fine, hiding the tabs based on other fields (one a drop-down, one a set och checkboxes):

https://www.dropbox.com/s/ri4bgmexw15aes7/TabTest.nsf

Subject: Working, However Failing for Computed Subform

Hi Karl,

Thanks for sharing the database.

In fact we want to display only the select tab based on the dialog list value and hide others. For example I select Tab1 other tabs like Tab2, Tab3 & Tab4 should be hidden.

Downloaded the database and modified the code as per my requirement by changing the hide when formula.

SelectTab!=“Tab 1” - Tab1

SelectTab!=“Tab 2” - Tab2

SelectTab!=“Tab 3” - Tab3

SelectTab!=“Tab 4” - Tab4

Above formula works fine for me and just displays the select tab.

However, our requirement is to display the select tab that contains computed subform. If tabs contain computed subform then based on the dialog list value selection it has to display only that tab along with the computed subform.

This is failing in our case as I tried with TabTest.nsf by creating a subform and included that computed subform in one of the tabs. Although the default value for the SelectTab DialogList field is None it still displays the tab that has the computed subform.

Thanks,

Pervela Mallik Ram Sharma

Subject: Please post ALL information upfront

You never mention computed subforms in your intial posting. You have been posting long enough in this forum to know that you should put all the relevant information in the initial post.

We are all wasting time trying to help you, when you don’t post everything in your initial post.

Please read this document: http://www-10.lotus.com/ldd/nd6forum.nsf/0/410171d83ddba6d485256df100832aba

Pay special attention to the section “What to Include in Your Question”…

Subject: Try using a Programmed table instead

(look at “Creating programmable tables” in the help)

Subject: Finally Working

Hi Everyone,

Thanks for all your inputs.

Finally it did work.

All I have done is Set the default value for dialog list field to blank. Later added Source.RefreshHideFormulas in PostReCalc Form event.

Rest is hide when formula like !Contains(DialogListField; “Value”) for the text in tabbed table.

Hide when works for computed subform, all we need to do is leave one space in the beginning and end with the hide when formula.

Thanks for your suggestion.

Thanks,

Pervela Mallik Ram Sharma