Using the code,
Code:
ANListBox.RowSource = "SELECT AMID, Game, Year, Location, City, State, Result, GmScore FROM SportsArmyNavyQry ORDER BY Year;"
my button works as planned. If I add a where clause the data fails to show.
Code:
ANListBox.RowSource = "SELECT AMID, Game, Year, Location, City, State, Result, GmScore FROM SportsArmyNavyQry WHERE Game = "Army" ORDER BY Year;"
I am at a loss to track down the issue, why the first works and the second does not. If I just use the second "select statement as the source code it works fine.
Jim O