web
You’re offline. This is a read only version of the page.
close

  • Forums
  • Knowledge Base
  • Status
  • Downloads
  • Support Requests
      • All
      • Web Pages
      • Forums
      • Knowledge Base Articles
  • English
    • Deutsch
    • Español
    • Français
    • English
    • 日本語
  • Sign in
  • Home
  • Public Profile

David Dunton Software Solutions Engineer

David Dunton

Joined: 7/7/2017

  • Forum Posts
  • Thats what I needed! Thanks

    Wed, 25 Apr 2018 14:23:12 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510294

    Thats what I needed! Thanks to both of you.

    I have one autoindex to set the value and another to remove it.

    Tested and working.

     

    SELECT
          DWDOCID
    FROM BOOKINGDEALS
    WHERE DATEPART(m, ContractDate) = DATEPART(m, CAST(GETDATE()AS Date)) -1
          AND DATEPART(yyyy, ContractDate) = DATEPART(yyyy, (DATEADD(m, -1, GETDATE())))

    ;

    SELECT
          DWDOCID
    FROM BOOKINGDEALS
    WHERE DATEPART(m, ContractDate) = DATEPART(m, CAST(GETDATE()AS Date)) -2
          AND DATEPART(yyyy, ContractDate) = DATEPART(yyyy, (DATEADD(m, -2, GETDATE())))
          AND Status = 'PREVIOUSMONTH'

  • SQL Statements and Cloud

    Tue, 24 Apr 2018 18:23:19 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510294

    https://www.docuware.com/forum/english-forums/docuware-help-technical-pr...

    Looks like Free SQL Statements aren't available in Cloud, unless i'm missing something.

    Thanks.

     

  • Thanks Phil, i'll keep trying

    Mon, 23 Apr 2018 18:15:41 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510294

    Thanks Phil, i'll keep trying.

  • Thank you for the quick reply

    Mon, 23 Apr 2018 17:26:52 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510294

    Thank you for the quick reply.

    I tried both of those, recieved a "Wrong condition!" error.

    https://www.docuware.com/sites/default/files/forums-images/2018-04-23%2013_25_38-DocuWare.png

    https://www.docuware.com/sites/default/files/forums-images/2018-04-23%2013_26_06-Configurations.png

  • IS (WHERE) Clause - Previous Month NOT last 30 Days

    Mon, 23 Apr 2018 17:05:10 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510310
  • IS (WHERE) Clause - Previous Month NOT last 30 Days

    Mon, 23 Apr 2018 17:04:54 GMT – IS (WHERE) Clause - Previous Month NOT last 30 Days-1524510294

    Looking to "Configure a List" where date=previous calendar month. IE, if the current month is June, then display May results.

    Is this possible? The "Within the past" is a number of days if i choose month, thus showing the wrong results.

    I've played with the "Is (Where Clause)", without any luck.

    This is for a cloud system, so SQL Statements are out of reach.

Get Help

Search in Knowledge Base
Ask Community
New Support Request
  • Get Knowledge

    • Online Help
    • Knowledge Base
    • Updates & Hotfixes
    • Cloud Status
    • Blog
    • YouTube
  • Get Support

    • Community Forums
    • Support Requests
    • Search & Share Ideas
    • TeamViewer
  • Get Information

    • Data Privacy Policy
    • Data Processing in Support
    • Legal
    • Disclaimer
    • Support Lifecycle Policy
    • Sitemap


Gender reference:

DocuWare communications are gender-neutral. All past and future communications issued by the company are inclusive of all gender identities, even if not explicitly stated in the wording.

 

Copyright © 2025. All rights reserved.