I selected 3 tables (in MS FrontPage-code : fp_sQry="SELECT * FROM ..."
1. players
2. matches
3. competition (= combination matches + players)
The 4th table contains names of the possible substitutes of certain players (table not yet in my select query).
Currently I can get a list of all players for a particular match.
But in the list I want to see also the names of the substitutes (0 or 1 or 2) under / at the name of the players (bold)
e.g. List of Match XYZ
player 1 name - plays the match
player 2 name - plays the match
player 3 name - does not play
player 4 name - plays the match
player 6 name - does not play
Player 7
...
The field SUB in Table Competition indicates how many substitutes there are (for player X and match Y).
With this field, I tried to call / to apply the 4th table (substitutes) into the loop (If SUB <> 0 then).
My problem
How can I interrupt the players loop to show the substitute(s) for player 4 (in the example)
and then resume the loop for player 5 etc.
=> without 'losing' the players loop.
Thanks for help.
1. players
2. matches
3. competition (= combination matches + players)
The 4th table contains names of the possible substitutes of certain players (table not yet in my select query).
Currently I can get a list of all players for a particular match.
But in the list I want to see also the names of the substitutes (0 or 1 or 2) under / at the name of the players (bold)
e.g. List of Match XYZ
player 1 name - plays the match
player 2 name - plays the match
player 3 name - does not play
player 4 name - plays the match
substitute name1
substitute name2
player 5 name - plays the matchplayer 6 name - does not play
Player 7
...
The field SUB in Table Competition indicates how many substitutes there are (for player X and match Y).
With this field, I tried to call / to apply the 4th table (substitutes) into the loop (If SUB <> 0 then).
My problem
How can I interrupt the players loop to show the substitute(s) for player 4 (in the example)
and then resume the loop for player 5 etc.
=> without 'losing' the players loop.
Thanks for help.