All Day Appointment placement

I’ve got a C API application that creates appointment entries in a .nsf file. When I create an all day apppointment (ApptType = 2)it shows up at the time that I set, however I want it to display at the top of the page, like a native Notes all day appointment does. I cannot see any properties that control this. How is it done?

Subject: To get All Day Event to show in non-timed area, need to set OrgTable=“P0”

Hi Jeff,

Take a look at the third column in the $Calendar view.

section := @Left(OrgTable; 1);

@If(section = “T”;

 0;

section = “P”;

 1;

section = “A” | @IsAvailable($SrvrHldy) | (@IsAvailable(Type) & Type=“Holiday”);

 2;

For All Day Events, the OrgTable is set to “P0”.

This column dictates what appears in the non-timed section of the Calendar views. ToDos have a value of 0 in this column, All Day Events 1, and Anniversaries and Holidays 2. All timed events will have a value of 9 for this column.

The OrgTable is an item that dates back to the Lotus Organizer days. This item was used to tell Lotus Organizer in which section an entry should be displayed.

Moe Kraft

Notes C&S Team

Subject: Notes Schema posted to the Domino Wiki

For more detail on the Notes Schema, you can check out the latest on the Notes Domino Wiki.

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/cs_schema_glossary#OrgTable