In select expert query below I only want the minimum "time" record.
{day_type_vs.description} = {?ServiceType} and
{incident_log.incident_log_id} Mod 2 = 0 and
({timepoint_name.tp_lname} in {?TP_ID} or " ALL" in {?TP_ID}) and
{incident_log.current_route_id} = {?CurrentRoute} and
{incident_log.incident_date_time} = {?IncidentDate} and
Minimum ({incident_log.incident_date_time})
Example of records below, where I want to pull in only the minumum time record and filter out the 2nd record listed below. Any ideas how I might select only the minimum time in the query above?
111134646 9/21/15 13:00:43 13:00 5002 600268 OnTime WKDAY 801001 801 801 0 SOUTHBOU 19 11556 7321 ST EDWARDS
111135740 9/21/15 13:04:43 13:00 5002 600268 OnTime WKDAY 801001 801 801 0 SOUTHBOU 19 11556 7321 ST EDWARDS
Thanks for any assistance.
{day_type_vs.description} = {?ServiceType} and
{incident_log.incident_log_id} Mod 2 = 0 and
({timepoint_name.tp_lname} in {?TP_ID} or " ALL" in {?TP_ID}) and
{incident_log.current_route_id} = {?CurrentRoute} and
{incident_log.incident_date_time} = {?IncidentDate} and
Minimum ({incident_log.incident_date_time})
Example of records below, where I want to pull in only the minumum time record and filter out the 2nd record listed below. Any ideas how I might select only the minimum time in the query above?
111134646 9/21/15 13:00:43 13:00 5002 600268 OnTime WKDAY 801001 801 801 0 SOUTHBOU 19 11556 7321 ST EDWARDS
111135740 9/21/15 13:04:43 13:00 5002 600268 OnTime WKDAY 801001 801 801 0 SOUTHBOU 19 11556 7321 ST EDWARDS
Thanks for any assistance.