I am using Access2003 and in VBA I have a NBHD of RJA. In the condition of my query,I want to query from the table all NBH that are like the first character that matches frmMyForm.NBH So I want to see all NBH that start with the letter R, regardless of length.
Suggestions for the syntax?
strSQL="SELECT MyTable.Nbhd FROM MyTable " & _
"WHERE ((MyTable.Nbhd) Like Left(([Forms]![frmMyForm]![Nbhd],1))& "*");
Suggestions for the syntax?
strSQL="SELECT MyTable.Nbhd FROM MyTable " & _
"WHERE ((MyTable.Nbhd) Like Left(([Forms]![frmMyForm]![Nbhd],1))& "*");