Outlook Calendar move Appointment using MAPI
Posted: Mon Dec 21, 2020 10:03 pm
hi,
now i want to move a existing Appointment to other place.
i need some "Filter" and a Unique "Key" which normal is EVENTID ... but that "Key" is not good "readable"
i use "CreationTime" YYYYMMDDHHMMSS
but there is another Problem :
"Filter" only accept "DateFormat" (German DD.MM.YYYY) and HH:MM ... NO Seconds
so i need to compare Result if Seconds -+3 match
now i want to move a existing Appointment to other place.
i need some "Filter" and a Unique "Key" which normal is EVENTID ... but that "Key" is not good "readable"
i use "CreationTime" YYYYMMDDHHMMSS
Code: Select all
cFilter := "[CreationTime] >='" + cStart + "' and [CreationTime] <= '" + cEnd + "'"
"Filter" only accept "DateFormat" (German DD.MM.YYYY) and HH:MM ... NO Seconds

so i need to compare Result if Seconds -+3 match
Code: Select all
IF SUBSTR( cStringStart, 1, 14 ) >= SUBSTR( LTRIM( STR( ROUND( VAL( cDBFCreDate ), 0 ) ) ), 1, 14 ) .OR. ;
SUBSTR( cStringStart, 1, 14 ) <= SUBSTR( LTRIM( STR( ROUND( VAL( cDBFCreDate ) + 3, 0 ) ) ), 1, 14 )