I have the following VB code:
Set dbDataBase = CurrentDb
Set rstAddress = dbDataBase.OpenRecordset("SELECT AddrAddrFirstName, AddrAddrLastName " & _
"FROM tblAddrAddress WHERE AddrAddrAlphaName = Me.AddrAlphaName")
When it executes, I get the following error:
Run Time error "3061":
Too few parameters. Expected 1.
Any ideas?