From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

scripted query with date range control

Solved!
Go to solution

Would someone share the syntax to add query conditions for DateCreated > yymmdd?  I know I came across it at one point and can't seem to find it anywhere.

0 Kudos
Message 1 of 3
(2,312 Views)
Solution
Accepted by topic author Chris_P_SD

Just enter the Query in the DIAdem Navigator GUI and press CTRL+SHIFT+C while an element of the query input is active.

Afterwards you will find the needed code in the Clipboard.

Call oMyConditions.Add(eSearchFile,"createTime",">=",DateSerial(2017,10,11))
0 Kudos
Message 2 of 3
(2,294 Views)

Works great, thanks for the tip Andreas.

0 Kudos
Message 3 of 3
(2,278 Views)