×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Setting Reminder Fields

Setting Reminder Fields

Setting Reminder Fields

(OP)
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?

RE: Setting Reminder Fields

Are you getting any error about being an incorrect data type for the field?

Possibly a data type conflict?

RE: Setting Reminder Fields

(OP)
...no error, just opens a new "reminder" appointment form but the dates are the current date/time (defaults) and no subject?

RE: Setting Reminder Fields

Have you got Default values set for the fields that are not being set? Sounds like you have and these fields are being set with "defaults" as you mentioned.

Hope this helps

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close