View question

Is it possible to detect (with formula language) wether a view selection is currently modified (through @SetViewInfo or, in LS, view.SelectionFormula=…) ?I’d like to display an info like this “Dear User, please keep in mind you’re currently seeing a filtered subset of this view and not all documents”

Thanks,

Tom

Subject: View question

Create profile document (“VProfile”) and new field1. field VName to collect view title.

  1. field Username (compute @username)

on View Queryopen use formula

@SetProfileField(“VProfile”; “VName”; @ViewTitle; @Username)

when you want to show Current View Name, you can use formula to get data from the profile document.

@GetProfileField(“VProfile”; “VName”; @Username)

Enjoy Lotus Notes,

SuperPorn

Subject: RE: View question

Thanks, but I think this is a misunderstanding.I have a view whose selection formula can be modified through users at runtime. I do this with LotusScript in a view action (“Set Filter”). They can also return to the original selection formula (“Reset Filter”). The “dynamic selection formula” is a great feature since R6 with the drawback that if done in LotusScript, it works “globally” meaning that the filter one user sets is “permanent” for all other users until someone resets the filter.

What I want to achieve is signaling to users “This view is currently filtered with a modified selection formula” if a filter is set. I thought there was an easy way to figure this out.

But the approach with profile fields is worth a look, I think I can make up something with it, thanks.

Regards,

Tom