Appointment object: Duration instead of EndDate

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Elmar
Posts: 62
Joined: Tue Mar 06, 2007 12:19 pm

Appointment object: Duration instead of EndDate

Post by Elmar »

Hi there.

I am just starting with AwareIM and would like to know if I can use a Duration field instead of an Endate. Startdate + Duration could calculate an endate but I am not sure how to do this in the rules section.

Thanks in advance,
Elmar
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

I suppose you can hide the End Date attribute from the form of the Appointment object and add an attribute of the Duration type (for example AppointmentDuration). Then you can add a rule that will automatically calculate the EndDate attribute:

Appointment.EndDate = Appointment.StartDate + Appointment.AppointmentDuration
Aware IM Support Team
Elmar
Posts: 62
Joined: Tue Mar 06, 2007 12:19 pm

Post by Elmar »

Hi support.

Works like a charm.

Thanks a lot!
Elmar
Post Reply