Unexpected behaviour in a Lotus Notes programmable table

Posted by Mark B on Server Fault See other posts from Server Fault or by Mark B
Published on 2012-03-28T10:58:21Z Indexed on 2012/03/28 11:32 UTC
Read the original article Hit count: 170

Filed under:

I'm designing a workflow database in Lotus Notes 6.0.3 (soon upgrading to 8.5), and my OS is Windows XP.

I have recently tried converting a tabbed table into a programmable one. This was so that I could control which tab was displayed to the user when it was opened, so that they were presented with the most appropriate one for that document's progress through the workflow. That part of it works!

One of the tabs features a radio button that controls visibility of the next tab, and a pair of cascading dialogue boxes. One contains the static list "Person":"Team", and the other has a formula based on the first:

view:=@If(PeerReview = "Team"; "GroupNames"; "GroupMembers");
@Unique(@DbColumn(""; ""; view; 1))

The dialogue boxes have the property "Refresh fields on keyword change" selected.

The behaviour that I wasn't expecting is this. If the radio button is set to "Yes" and a value is selected in one of the dialogue boxes, the table opens the next tab. If the radio button is set to "No" and a value is selected in one of the dialogue boxes, the entire table is hidden.

I can duplicate the latter by switching off the "Refresh fields on keyword change" property on the dialogue boxes and instead pressing F9 after selecting a value. I have no idea why the former occurs, though. The table is called "RFCInfo", and I have a field on the form called "$RFCInfo" which is editable, hidden from all users who aren't me and initially set by a Postopen script, which I can post if necessary - it's essentially a Select Case statement that looks at a particular item value and returns the name of the table row relating to that value.

Can anyone offer any pointers?

© Server Fault or respective owner

Related posts about lotus-notes