M
Matt
Hi.
I'm using the following code to try and display a graphic
based on the "team" selected from a combo box in a form.
As query it works fine but when I use VB it does not.
What am I missing? Thanks.
Table = Games
Field = HTeamID
Table = Teams
Field = TeamID
Private Sub HTLogo_BeforeUpdate(Cancel As Integer)
SQLText = "SELECT [Teams.Logo] FROM [Teams]" & _
"INNER JOIN Game ON [Game].[HTeamID]=[Teams].[TeamID]"
End Sub
I'm using the following code to try and display a graphic
based on the "team" selected from a combo box in a form.
As query it works fine but when I use VB it does not.
What am I missing? Thanks.
Table = Games
Field = HTeamID
Table = Teams
Field = TeamID
Private Sub HTLogo_BeforeUpdate(Cancel As Integer)
SQLText = "SELECT [Teams.Logo] FROM [Teams]" & _
"INNER JOIN Game ON [Game].[HTeamID]=[Teams].[TeamID]"
End Sub