English 中文(简体)
how to set work-week as the initial format in a Domino calendar view?
原标题:

I want my Domino Calendar View to be initially setup in work-week format (showing monday to friday days)

In Designer, I go to View Properties - Date and Time Format tab. There is a Initial Format combo box where I can choose from those items.

- Default - 
One Day
Two Days
Work Calendars
One Week
Two Weeks
One Month

But none of them gives me the desired work-week format.

Interestingly, it is available to the users thru the Week Tab in the View Header.

I am wondering if there is any way to select it programmatically.

What is the formula to change the calendar format? when is (what is the event) appropiate to execute it?

This is Domino 8

最佳回答

I ve given up.

I have selected Default as the Initial Format in the View Properties - Date and Time Format tab.

So, the user can choose whatever she wants and Notes will remember the chosen format for her.

问题回答

You can add code to the PostOpen event of your view to change the calendar format. In formula language, you can use this:

@Command( [CalendarFormat] ; "5" )

The "5" represents a Work Week view.





相关问题
What is the meaning of the small "6" on some Domino agents?

Some agents in an ancient Lotus Notes application has a difference in agent-enabled behaviour that I cannot explain: This is the agent list read in R7.0.3: Enabled agents in R7, notice the small &...

Is Interop.Domino dll thread safe?

I am using Interop.Domino dll version 1.2 in c# application, and using multithreading to access multiple NSF file at same time by creating new session for each thread created (Max 5 threads at a time)....

热门标签