I have three tables with a nonnumeric relational expression issued with SET RELATION. I would like one of the child tables to be ordered on another field then the common field.
Example:
-Child table 1 holds soccer games.
-Child table 2 holds players.
-Parent table holds soccer tournaments.
-The common field is "tournament-ID"
-Data from the tables above shall be printed via a report layout.
Problem: Howto order child 1 (games) in datetime?
Code:
select child1 && games
*** Shows no games at all
set order to tag TIME
*** Works but shows wrong order
*** set order to tag tourn-ID
select child2
set order to tag tourn-ID
sele parent
set order to tag tourn-ID
set relation to tourn-ID into child1,tourn-ID into child2
Example:
-Child table 1 holds soccer games.
-Child table 2 holds players.
-Parent table holds soccer tournaments.
-The common field is "tournament-ID"
-Data from the tables above shall be printed via a report layout.
Problem: Howto order child 1 (games) in datetime?
Code:
select child1 && games
*** Shows no games at all
set order to tag TIME
*** Works but shows wrong order
*** set order to tag tourn-ID
select child2
set order to tag tourn-ID
sele parent
set order to tag tourn-ID
set relation to tourn-ID into child1,tourn-ID into child2