• Blog posts

    Bio

    By Clint Brown

    2017-08-01_15h53_54.png

    I was asked if it is possible to automatically change the "Creation Date" on a drawing, to today's date. The drawing border in question uses the iProperty "Creation Date" as the "date field" shown on the drawing.

    This is not something that you would want to do all of the time, but it is possible. There are 2 methods, manually via iProperties, or via 3 simple lines of code in iLogic. The code used is shown below, and the animated GIF shows the rule (called "Date" in action).

    oTime = Now.ToShortDateString
    iProperties.Value("Project", "Creation Date") = oTime
    iLogicVb.UpdateWhenDone = True

    Rx7mj7RW9W.gif