web
Sie sind offline. Dies ist eine schreibgeschützte Version der Seite.
close

  • Foren
  • Knowledge Base
  • Status
  • Downloads
  • Supportanfragen
      • Alle
      • Webseiten
      • Foren
      • Knowledge Base Artikel
  • Deutsch
    • Deutsch
    • Español
    • Français
    • English
    • 日本語
  • Anmelden
  • Home
  • Public Profile

David Dunton Software Solutions Engineer

David Dunton

Beigetreten: 07.07.2017

  • Forum Beitrag
  • 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.

Hilfe erhalten

Suche in Knowledge Base
Community fragen
Neue Supportanfrage
  • Wissen erhalten

    • Online Hilfe
    • Knowledge Base
    • Updates & Hotfixe
    • Cloud Status
    • Blog
    • YouTube
  • Unterstützung erhalten

    • Community Foren
    • Supportanfragen
    • Suchen & Teilen Sie Ideen
    • TeamViewer
  • Informationen erhalten

    • Datenschutzerklärung
    • Datenverarbeitung im Support
    • Impressum
    • Haftungsausschluss
    • Support Lifecycle-Richtlinie
    • Sitemap



Gender Hinweis:
Bei DocuWare steht jeder einzelne Mensch an oberster Stelle. Das Unternehmen schließt alle Identitäten in der internen sowie externen Kommunikation ein und garantiert damit die Gleichstellung und den Respekt gegenüber allen Individuen. Entsprechend beziehen sich alle vom Unternehmen ehemals sowie zukünftig veröffentlichten Beiträge, auch wenn nicht explizit der Formulierung zu entnehmen, auf alle Geschlechtsidentitäten.

 

Copyright © 2025. All rights reserved.