Hello, I am looking for a way to display an updated value (date) on JMP application. I feel like there should be a simple solution here but am struggling to find it.
In the Image below, I have set up a time filter for data table when you press the "Custom" button. After the Data range is entered by user, I want the locked Number Boxes to display the Start and End date values which were selected.
m_TimeCustomPress=Function({this},
// This function is called when the button is pressed
name = this << Get Button Name;
dt RAW_ALL = Open (//file location);
StartTime = Col Min (dt RAW_ALL:DATE);
EndTime = Col Max (dt RAW_ALL:DATE);
CustomTimeWindow = New Window("Select Time Frame",
<<Modal,
Panel Box( "Data Range",
Lineup Box( N Col( 2 ),
Text Box( "Start" ),
neb1 = Number Edit Box(
StartTime,
-1,
<<Set Format( Format( "m/d/y" ) ),
<<Set Minimum( StartTime ),
<<Set Maximum( EndTime)
),
Text Box( "End" ),
neb2 = Number Edit Box(
EndTime,
-1,
<<Set Format( Format( "m/d/y" ) ),
<<Set Minimum( StartTime),
<<Set Maximum( EndTime )
)
)
),
H List Box(
Button Box( "OK",
StartTime = neb1 << Get;
EndTime = neb2 << Get;
//???
StartTimeDisplay = neb1 << Set;
EndTimeDisplay = neb2 << Set;
),
Button Box( "Cancel" )
)
);