I have an application which I need to have a an action button that will set a reminder in the current users calendar, 2 weeks from the current date.
I'm trying to do this using @functions but I cant seem to set the fields on the reminder form - except for the "AppointmentType" which is the only one that appears to work? Here is the code that I'm using in the action button:
@Command([Compose]; @MailDbName; "Appointment"
FIELD AppointmentType:=AppointmentType;
FIELD StartDate:=StartDate;
FIELD Subject:=Subject;
NowDate:=@Now;
RemindDate:=@Adjust(NowDate;0;0;14;0;0;0);
@SetField("AppointmentType";"4"
@SetField("StartDate";RemindDate);
@SetField("Subject";"Hello"
As I said, the only field that seems to work is the AppointmentType? Is what I'm doing possible using @Functions or will I have to quickly learn lotusscript to get this done?
I'm trying to do this using @functions but I cant seem to set the fields on the reminder form - except for the "AppointmentType" which is the only one that appears to work? Here is the code that I'm using in the action button:
@Command([Compose]; @MailDbName; "Appointment"
FIELD AppointmentType:=AppointmentType;
FIELD StartDate:=StartDate;
FIELD Subject:=Subject;
NowDate:=@Now;
RemindDate:=@Adjust(NowDate;0;0;14;0;0;0);
@SetField("AppointmentType";"4"
@SetField("StartDate";RemindDate);
@SetField("Subject";"Hello"
As I said, the only field that seems to work is the AppointmentType? Is what I'm doing possible using @Functions or will I have to quickly learn lotusscript to get this done?