Date Not Equals To 0DT

ricky76ricky76 Member Posts: 204
edited 2006-09-28 in Navision Attain
Is there any way within a SETRANGE or SETFILTER i can specify the date is not equal to 0DT??

Thanks

Comments

  • zeninolegzeninoleg Member Posts: 236
    Hi Ricky,
    What is a 0DT?
    Are you trying to say 0D?
    0DT is DateTime
    0D is only Date
    Best Regards,
    Oleg
  • ricky76ricky76 Member Posts: 204
    I am trying to filter out records on the completed field, which is a datetime, where there is no datetime in the field so in effect i want SETFILTER(Completed,<> 0DT) but this syntax doesn't work. Any help would be appreciated.
  • zeninolegzeninoleg Member Posts: 236
    Try
    SETFILTER(Completed, '<>%1', 0DT)
    It should work
    Best Regards,
    Oleg
  • ricky76ricky76 Member Posts: 204
    Worked a treat. Thank you very much for your help.
Sign In or Register to comment.