Hi guys,
I have 3 columns:
Action Start Date, Planned Closure Date & Real Closure Date in my application called Employee Actions Manager developed by using VB.Net2010 & MS Access 2010.
I want to set a reminder that can remind me on 5th day after the Planned Closure Date for each action.
I want a reminder when I open my Application, I have all the records in data grid...can I highlight the record as a reminder???
What I already did added a query in the Action Log Table Adaptor under name (FillByPositive5DaysDelay) which is as follows:
SELECT ID, ActionReferance, ActionDescription, ActionSite, ActionCategory, ActionImportance, ActionAccountability, ActionProgressStatus, ActionClosurestatus, ActionDoneBy,
ActionComment, ActionYear, ActionStartDate, PlannedClosureDate, RealClosureDate
FROM ActionsLog
WHERE (PlannedClosureDate >= DATEADD(DD, + 5, GETDATE()))
But there is a SQL execution error (undefined function GETDATE in expression).So can you help me to avoid this error?
Please kindly note that I have added the following function in the Actions Log form but the same problem still persists.
Private Sub GETDATE()
System.DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss")
End Sub
Thanks in advance!!