/ Forums / Advansys Formativ / Creating Solutions with Formativ / Problem with function FIlterSetDateAbsolute

  • Creator
    Topic
  • #4254
    ML_NetBeh
    Participant

      Hi,

      I have an strange effect when using the FilterSetDateAbsolute function.

      The Month parameter cause the Filter to trigger an month later. W’re using Groupwise 6.5

      used Code:

      iFilter = GroupWise.FilterCreate(fttEmpty,true)
      Call GroupWise.FilterSetItemType(iFilter, itmMail, arcYes)
      Call GroupWise.FilterSetSource(iFilter, ewtInbox, arcYes)
      DummyDate = FormatDateTime(Dialog.StartDate.Date,vbShortDate)
      Call Groupwise.FilterSetDateAbsolute(iFilter,_
      fdaDeliveredDate,_
      “”,_
      “”,_
      opnGTE,_
      DatePart(“d”,DummyDate),_
      DatePart(“m”,DummyDate)-1,_
      DatePart(“yyyy”,DummyDate))
      DummyDate = FormatDateTime(Dialog.EndDate.Date,vbShortDate)
      Call Groupwise.FilterSetDateAbsolute(iFilter,_
      fdaDeliveredDate,_
      “”,_
      “”,_
      opnLTE,_
      DatePart(“d”,DummyDate),_
      DatePart(“m”,DummyDate)-1,_
      DatePart(“yyyy”,DummyDate))

      Call GroupWise.RuleCreate(“”,RuleName,racNewItem,””,iFilter,btoDontCare)

    • Author
      Replies
    • #7614
      Support 3
      Participant

        We can reproduce the same behaviour. Its a bug in GroupWise Token API. We’ll report this as a bug to Novell. We couldn’t say when they’ll fix it. We will post more here when we hear anything from Novell.

        Regards,
        Advansys Support

        #7613
        Support 3
        Participant

          We have reported this bug to Novell and they have assigned a defect number for this bug. Hopefully this bug will be fixed on next release.

        Viewing 2 replies - 1 through 2 (of 2 total)
        • You must be logged in to reply to this topic.