Reminder for Action Closure Date Overdue (5 Days)

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")
Thanks in advance!!

The parameter value may need to be a string representation of the date wrapped in # characters.  I haven't used Access in a long time and forget a lot of its caveats.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
Yes, always a pain when dealing with Access. Plus the date needs to be in the U.S. format when string.
Probably won't need it in this instance though since no parameters would be passed.
SELECT ID, ActionReference, ... From ActionsLog WHERE PlannedClosureDate >= DateAdd("d", 5, Now)
Paul ~~~~ Microsoft MVP (Visual Basic)

Similar Messages

  • How do I add a reminder for a future date in my reminders with the os 7

    How do I add a reminder for a furure date in my reminder?  I can't find a calendar anywhere in reminder so that I can select a date and then type my reminder.

    To do it manually, tap a blank line in the reminder app, enter a title, then tap the 'I' beside it to edit the entry with a date and time. Or, set up a reminder with Siri.

  • Function Module for separating a date range into days

    Hi all,
    Does anyone know if there is a function module which gives back the list of days when we give a date range as input parameter to the function module. For example, we enter the range 10.07.2006 - 13.07.2006 and the function module gives back a table  in form 10.07.2006, 11.07.2006, 12.07.2006, 13.07.2006.
    Thanks,
    Sükrü

    Hi suekrue,
    1. Exactly for this purpose,
       i have written an
       INDEPENDENT FORM (subroutine)
      wherein we pass
       a) fromdate
       b) todate
       c) ITAB
    2. and it gives all the dates in the internal table.
    3. just copy paste
    4.
    data :  itab type table of sy-datum with header line.
    parameters : fromdate type sy-datum default '20060701'.
    parameters : todate type sy-datum default sy-datum.
    perform getdays tables itab using fromdate todate.
    break-point.
    FORM
    form getdays
    tables itab
    using fromdate todate.
      data : curdate type sy-datum.
      curdate = fromdate.
      do.
        if curdate > todate.
          exit.
        endif.
        itab = curdate.
        append itab.
        curdate =  curdate + 1.
      enddo.
    endform.                    "getdays
    regards,
    amit m.

  • Reminder for delivery date in PO

    Hi,
    I have a requirement related to reminder for delivery date.
    For ex i have PO in which the delivery date is 20th NOV 09.I want there should be the reminder alret message to be send to personal mail or to SAP mail before the delivery date approches automatically.
    I do not want to open the PO for checking the delivery date.
    If possible then pls explain the detailed process for config the scenario.
    Regards,
    DD

    Reminder letters are send to the vendor, not to the buyer.
    I think your "reminders" can be done more easily with scheduled standard reporting.
    use ME2L,  
    use selection parameter WE101 for open receipts.
    enter todays date in delivery date field
    press F2 while cursor is in delivery date field and select the sign for lower and equal.
    fill your other selection criteria, such as purchasing group, scope of list etc.
    Then save as variant.
    enter variant name and description
    scroll to the right and put the cursor into row for delivery date into field selection variable.
    press F4 and select Dynamic date calculation
    put the cursor in the same row into the field name of variable and press F4
    then enter I for include and EQ  for the Current date
    now save your variant.
    execute SM36 to define your batch job.
    enter a job name e.g. ME2L_reminders.
    click button spool receipients.
    you get a popup, here enter the the users email adress and click copy.
    then click button start conditions to define when the job shall run.
    then click STEP button
    enter as program name RM06EL00
    enter your variant name.
    enter the language that the report shall have.
    then save.
    From now on the buyer will receive a list with all overdue deliveries as often as you scheduled the job.

  • How to get the date of first day of a week for a given date

    Hi gurus
    can any one say me how to get the date of first day(date of Sunday) of a week for a given date in a BW transformations. For example for 02/23/2012 in source i need to get 02/19/2012(Sunday`s date) date in the result. I can get that start date of a week using  BWSO_DATE_GET_FIRST_WEEKDAY function module. But this function module retrieves me the  start date as weeks monday(02/20/2012) date. But i need sundays(02/19/2012) date as the start date. So it would be really great if anyone sends me the solution.
    Thanks
    Rav

    Hi,
    The simplest way would be to subtract 1 from the date date which you are already getting in transformation routine, but instead of doing that subtraction manually which might need bit of errort, you can simply use another FM to subtract 1 from given date.
    RP_CALC_DATE_IN_INTERVAL
    Regards,
    Durgesh.

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • I can no longer get my calendar to send a reminder e-mail for on a date in the future....alerts no problem

    I can no longer get my calendar to send a reminder e-mail for on a date in the future....alerts no problem

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'
    If that doesn't work then try closing the Mail app completely : from the home screen (i.e.not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • HT204053 I buy icloud for save my data, but I can't backup to icloud since I purchase it, and I lost my email from itune that I can cancel that on14 day, please andvise me, how to cancel my purchase since I can't back up my data is feel useless spent more

    I buy icloud for save my data and app, but I can't back up my data since I purchase, and I lost my email that I can canceled on 14 days, I please advise me since it useless buying without able to backup my data, I just want to canceled

    Please see this post:
    https://discussions.apple.com/message/16968425#16968425
    it gives the USA number - if you don't live there you will have to find an equivalent number from the 'Contact Us' link at bottom right of this page.

  • Report Builder Error: [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.

    Hi there!
    I'm trying to calculate the difference between two days using DATEDIFF (). I use following code for this:
    =DATEDIFF(DAY, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Every time I try to save the report, I get this error message:
    [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.
    The DataSource is a SharePoint List and the Date is given in the following format: 23.05.2014 00:00:00 (DD.MM.YYYY HH:MM:SS).
    I've googled for a working solution for a long time now, but I had no success.
    Is there someone who can help me?

    Hi Lucas,
    According to your description, you want to return the difference between two date. It seems that you want to get the days. Right?
    In Reporting Services, when we use DATEDIFF() function, we need to specify the data interval type, for days we can use "dd" or DateInterval.Day. So the expression should be like:
    =DATEDIFF(DateInterval.Day, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    OR
    =DATEDIFF("dd", CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Table and fields for " Batch Code Date " and "Shelf Life days".

    Hi All,
    What is the field for " Batch Code Date " and "Shelf Life days".
    And in which table are they present.
    Thanks & Regards,
    Ahmed.

    Check the table
    MCHA  Batches
    Field VFDAT  Shelf Life Expiration or Best-Before Date

  • Dates for this sessiions are overdue-Sap ealy watch report

    Hi all,
    I have too many sessions scheduled for EWA one if my system in Landscape wit Red flags & i wanted to remove them as they are with very old Dates.I couldn't  manage to find any option pls advice me on that.
    How can i remove OLD EWA  with RED flags

    Hi val,
    navigated as u said .,
    Once i press delete button i could be able to delete only the session where my early watch report is generated.
    But as i wanted to delete the sessions which are in past date with red flag
    for example if i click on red flag i get the following data
    The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
    Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
    Typical sources of errors are:
    The RFC connection for the SAP Solution Manager system is not working.
    The 'Task Processor' background job, which collects the session data, has been changed.
    Problems arose while data was being collected (see the detail log for the task that collects the session data).
    A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
    Session number: 5550000000878
    Back    Call Service Data Control Center
    As i dont require this over due seesions How can i delete them

  • Date range for a variable from number of days enterd

    Hi frnds,
    I have a requirement like ,
    Number of Days should be enterd in the Selection screen ,
    If user enters 10 Days in selection screen, then it should bring the records like date from = sy date and date to = ( the date after ten days from today ) for a characteristic( validity ) which holds the dates ,
    i believe that i can create one formula variable to enter the number of days and how do i relate this with the other variable in the char ( validity ) ,
    Could you please guide and sample code would be a great help ,
    thanks ,
    sathy

    hi ,
    its not working still, even i have tried with I_STEP = 2 after WHEN 'ZQUOT_N' ,
    but it works if hardcode like
    v_end = v_beg + 10 . ( instead of l_var_range-low ) , Appreciate your help on this thanks , sathy
    WHEN 'ZQUOT_N'.
    *I_STEP = 2.
    v_beg = sy-datum.
    CLEAR l_var_range.
    READ TABLE i_t_var_range INTO l_var_range
    WITH KEY vnam = 'ZQUOTE_R'.
    v_end = v_beg + l_var_range-low.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    l_S_range-low = v_beg.
    l_s_range-high = v_end.
    APPEND l_s_range TO e_t_range.
    EXIT.
    ENDCASE.

  • Find the 'DAY' for a given 'DATE'

    Hi Folks,
    I need a help regarding finding the day for a given date.
    My requirement is that..,
             If I enter a date using 'parameters', it should write the 'day' for the corresponding date.
    To be more specific.....,
    if I enter date as ' 07/15/2008 ' it should return me  the day as 'Tuesday'.
    Regards,
    Naveen G

    HI,
    FM LIST WITH RESPECT TO DAY, WEEK, AND MONTH.
    CALCULATE_DATE : Calculates the future date based on the input .
    DATE_TO_DAY : Returns the Day for the entered date.
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date
    RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
    MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
    MONTH_NAMES_GET : Get the names of the month
    WEEK_GET_FIRST_DAY : Get the first day of the week
    HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
    SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS : Returns the last day of the month
    DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
    Reward points if useful,
    siri

  • Closure date for change request

    Hi experts,
    I've defined a closure date in the date profile for my change requests and i want this date to be automatically populated when the ticket is closed. I've been trying to define a date rule (with ABAP) to set this date to actual date in a particular status but this doesn't work cause the rule is not executed except if you select it in the date area...
    Is there another way to do so ?
    Best regards,
    stephane.

    Hi Satish,
    Thanks for your answer, but i'm sorry you didn't really answer to my question. My question was : how can i set up a date that is determined when the SDCR is closed in order to store the closure date of a change request.
    best regards,
    Stéphane.

  • EWA" Dates for this session are overdue "

    Dear All,
    Im now configuring EWA report but i always got Red Flag for the satillite system said that  "Dates for this session are overdue"  and there is no two bottle apear.  please help me..
    Thanks so much.

    Hi,
    That error is because your managed system is not sending the required EWA data to your SolMan for processing.
    Please check the following to make sure all steps are correct for EWA processing:
    Check RFCs in Solution Manager to your system that the EWA is for.
    Also check the Back RFC to SolMan in the managed system.
    Also check in the managed system, transaction SDCCN and make sure the maintenance package is running and scheduled periodically!
    Finally ensure the Task Processor is active and scheduled in SolMan via transaction SDCCN > Goto > Settings > Task Processor.
    Lastly check in the managed system that the RFC for the maintenance package is set to your SolMan via transaction SDCCN > Goto > Settings > Task Specific > icon next to RFC Destinations > Settings. Ensure the Back RFC to SolMan is set as the master.
    To do this, go to SMSY in SolMan > Environment > SolMan Operations > Administration SDCCN and ensure your managed system is there and SolMan is the master.
    You may even have outstanding jobs for this system in SDCCN of SolMan which you can run to process the EWA data if you do not have a periodic Maintenance Package correctly running in SolMan.
    All of these checks will solve your issue and make sure EWA is working.
    If you find the answer, please post what the mistake was, I am curious
    Regards,
    -Rohan
    Edited by: Rohan Parikh on Dec 9, 2009 4:42 PM

Maybe you are looking for