Daten nach Datums- und Zeitbereich filternHi.
Ich möchte Daten innerhalb von 2 Daten filtern.
die Daten stehen in einer anderen Tabelle.
Tabelle 1:

Tabelle 2:

Wie kann ich die Daten in Tabelle 1 filtern, deren END_TIME zwischen START_TIME und END_TIME in Tabelle 2 liegt?
Ich möchte das Ergebnis in der neuen Tabelle.
Hoffe ich habe es verständlich erklärt.
Dankeschön.
DatentabelleBetreff: Daten nach Datums- und Zeitbereich filternHier ist ein einfaches Beispiel für eine Art von Filterung
Names Default To Here( 1 );
// Substitute the actual names of your data table
dt1 = Data Table( "table 1" );
dt2 = Data Table( "table 2" );
// This statement will select all of the rows in data table 1 that are
// between the start and end dates from the second data table
// Taking the value in the second data table's first row for the columns
// START_TIME of SideAStart and END_TIME of SideAEnd
// Not knowing what you really mean as "Filter the Data Table", this is
// a guess as to how you want to "Filter" the data
dt1 << dt1 << select where( dt2:START_TIME of SideAStart[1] <= dt1:END_TIME <= dt2:END_TIME of SideAEnd[1] );