Time Filter

resumeresume Member Posts: 3
I have two fields in Table. One is posting date and another one is Time of Issue.

I want to filter records from today 7.am to Tommorw 7.00 A.m.

Kindly suggest resolution.

Comments

  • kinekine Member Posts: 12,562
    You cannot. You need to divide it into two steps (today, 7 to midnight, tomorrow midnight to 7) or create datetime field and fill with the values and filter over it.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • resumeresume Member Posts: 3
    Its working fine. Thank You.

    One more query. How I can Concanate "Posting Date" and "Time Of Issue" fields in one DateTime field.Posting Date is Date field and "Time Of Issue" is Time fields.

    e.g Posting Date := 061211D;
    TIme Of Issue := 7.00 A.M

    New Field (DateTime field) := "Posting Date" + "Time OF Issue"


    When I assign Time of Issue it gives error that one datatype is time and another is integer.

    Kindly Suggest solution.
  • kinekine Member Posts: 12,562
    See CREATEDATETIME for more...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.