I
Ian Mackenzie
Hi Guys... I get errors when I try access any of the following fields in the
calendar folder...
Other like the subject and body etc... work fine.
**Method 'Duration' not supported by automation object.
What can I do????
Thanks Ian
--------------------------------------------
var
outlookItem : OLEVariant;
count : integer;
begin
for count := 1 to currentFolder.items.count do
begin
outlookItem := currentFolder.items[count];
with dCalendar do
begin
Append;
outlookItem.allDayEvent;
outlookItem.Duration;
outlookItem.Location;
Post;
calendar folder...
Other like the subject and body etc... work fine.
**Method 'Duration' not supported by automation object.
What can I do????
Thanks Ian
--------------------------------------------
var
outlookItem : OLEVariant;
count : integer;
begin
for count := 1 to currentFolder.items.count do
begin
outlookItem := currentFolder.items[count];
with dCalendar do
begin
Append;
outlookItem.allDayEvent;
outlookItem.Duration;
outlookItem.Location;
Post;