Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Can a field value be calculated during display?, posted by Sridhar Anandakrishnan on Wed Apr 12 19:22:34 2006 
    icon2.gif   Re: Can a field value be calculated during display?, posted by Stefan Ritt on Thu Apr 13 09:07:24 2006 
Message ID: 1807     Entry time: Thu Apr 13 09:07:24 2006     In reply to: 1806
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: All  ELOG Version:  
Subject: Re: Can a field value be calculated during display? 

Sridhar Anandakrishnan wrote:
I have a logbook which is a Calendar/Appointment book with Attributes: "Appointment DateTime", Place, etc.

I would like another Attribute called "When" whose value is calculated from Today's Date - Appointment date (so for example I could display today's appointments in red...). This calculation has to take place each time the logbook is displayed...

Possible? Useful?


No.

ELOG is an electronic logbok and should not be used as a full calendar application. There are much better packages for that, like PHP groupware. Better use one of those packages.
ELOG V3.1.5-fe60aaf