B
BrianPaul
I hope this can be done through code or some work around:
I have a table that has every division I football Team
Table Name = Tteams only 1 field team
I have a form not bound that displays a listbox based on the table teams.
So it displays the team alphabetically for me.
I have another table called Tschedule with the following fields:
Date of Game
Home team
Hscore
Visiting Team
Vscore
Then I have a form called Fshedule to input all the games.
Question: On the main form when I double click a team, I would like to show
all records for that team. The problem is that the team can be the Home team
or it could be the visiting team. So how do I display all records if the
selected team in the listbox can be either the home team or visiting Team.
**Note I did get it to work in a perimeter query by combing the two fields
however, as you know when you run the query it prompts you for your selection.
Thanks, Any help would be appreciated
I have a table that has every division I football Team
Table Name = Tteams only 1 field team
I have a form not bound that displays a listbox based on the table teams.
So it displays the team alphabetically for me.
I have another table called Tschedule with the following fields:
Date of Game
Home team
Hscore
Visiting Team
Vscore
Then I have a form called Fshedule to input all the games.
Question: On the main form when I double click a team, I would like to show
all records for that team. The problem is that the team can be the Home team
or it could be the visiting team. So how do I display all records if the
selected team in the listbox can be either the home team or visiting Team.
**Note I did get it to work in a perimeter query by combing the two fields
however, as you know when you run the query it prompts you for your selection.
Thanks, Any help would be appreciated