A
alexvts
I have the following code in an access database event:
strCatYear = "SELECT CatYearID, cboYear, cboCat FROM tblCatYear " _
& " WHERE cboYear = " & "Year" _
& " AND cboCat = " & "Cat" & ";"
Is there a way to have the result of the query (which by the way is always a
single number) as the strCatYear value instead of the query itself?
Alex
P.S. I'm just starting with access and VBA. Any book recomendations would be
appreciated.
strCatYear = "SELECT CatYearID, cboYear, cboCat FROM tblCatYear " _
& " WHERE cboYear = " & "Year" _
& " AND cboCat = " & "Cat" & ";"
Is there a way to have the result of the query (which by the way is always a
single number) as the strCatYear value instead of the query itself?
Alex
P.S. I'm just starting with access and VBA. Any book recomendations would be
appreciated.