I just struggle using the new function @SetViewInfo in a calendar view. It didn’t work until I found an example in the ressource reservation template (resrc60.ntf), where they used a fourth parameter in the syntax which is not documented in designer help. They used
I don’t know what FALSE stands for, but I finally got my exact matches work with that. Before this using 1=exact matches showed all documents in the view and 0=nonexact showed fewer matches but not the exact. So that’s o.k. now.
Remaining problem is that I want to open the view from a document (filter is one of the documents fields) via action button and load it in a frameset. But using @SetTargetFrame seems to destroy the searchfilter. If I use it all documents are shown again.
Has anybody an idea why this happens and how I can manage it?
Thank’s for your response. That’s exactly the formula I use. But with @SetTargetFrame the filter is lost and without I didn’t get the view in the frameset I want.It’s a calendar view. The formula is used in an action on a form that gets the filter from the open document.
I also tried another approach using evaluate with @SetViewInfo in the queryopen or postopen event of an embedded view on the same form. I can access the document and get the filter but my evaluate does nothing.