Hoppa till huvudinnehållet

search table query with BeginDate and EndDate

Kommentarer

2 kommentarer

  • Permanently deleted user
    Getting this error now:

     

    There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'EDMS_WF_R1_CLI_1_D' failed Unhandled exception: 'Exception has been thrown by the target of an invocation. The parameterized query '(@BeginDate varchar(8000),@EndDate varchar(8000))SELECT logger_c' expects the parameter '@BeginDate', which was not supplied.' in activity '1.90: SearchTableParameterQuery'. Exception has been thrown by the target of an invocation. The parameterized query '(@BeginDate varchar(8000),@EndDate varchar(8000))SELECT logger_c' expects the parameter '@BeginDate', which was not supplied

     

    But the BeginDate and EndDate are being supplied?

     

    Walter
    0
  • Malcolm Walker
    • Community-Manager
    Hi Walter,

     

    It looks like Essentials has determined that your date fields are strings.  So, alphabetically, 01/03/2005 comes between 01/01/2016 and 01/31/2016.

     

    We will either need to convert those to dates, so that the underlying data store can compare the dates properly, or reverse the order of the strings so that the most significant values are on the left (eg. YYYY-MM-DD) 

     

    I'm not sure what is happening to cause your error about the missing parameter, perhaps the parameter name is not set correctly in the search table configuration?

     

    Regards,

     

    -Malcolm
    0

Du måste logga in om du vill lämna en kommentar.