×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to display records from a 4 th table

How to display records from a 4 th table

How to display records from a 4 th table

(OP)
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
substitute name1
substitute name2
player 5 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.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close