OpenNTF.org - VIC CRM for Notes
VIC CRM for NotesOpenDocument&ExpandSection=-1[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: VIC CRM for Notes (Managed by Dave Leigh)
Actions:

Show details for The bugThe bug

Action taken
Status:Fixed
Implemented in Release:20060217
Fix Details:It was stupid, really. The old_FollowUp_dt object was never created, so it couldn't tell whether the follow-up date had been changed. Or, for that matter, whether you should create a new follow-up.

In the JournalEntry form, QSave_CreateFollowUp method, added this at the top:
Set old_FollowUp_dt = New NotesDateTime(doc.old_FollowUpDate(0) & | | & doc.old_FollowUpTime(0))

And added these at the bottom (prior to "If Not fu_doc Is Nothing Then")
Call doc.ReplaceItemValue("old_FollowUpDate", doc.GetItemValue("FollowUpDate")(0) )
Call doc.ReplaceItemValue("old_FollowUpTime", doc.GetItemValue("FollowUpTime")(0) )

On the form itself, added the hidden fields, old_FollowUpDate, and old_FollowUpTime, both Date/Time.

Modification history
Entered 26-Dec-2004 17:23 by Dave Leigh. Last Modified 17-Feb-2006 12:05 by Dave Leigh.