L
L.A. Lawyer
I am trying to pull selected records from another table (of people, known
here as "Relationships") based on selected criteria so that I can loop
through them; I do not need to retain this data. Here is my present code:
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("SELECT Relationship.* FROM Relationship
WHERE (((Relationship.ProofOfService)=True)) ORDER BY
Relationship.ProofOfService;")
The error message is "type mismatch" but I can't figure out where the
problem is.
This has got to be a common procedure.
Thanks!
here as "Relationships") based on selected criteria so that I can loop
through them; I do not need to retain this data. Here is my present code:
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset("SELECT Relationship.* FROM Relationship
WHERE (((Relationship.ProofOfService)=True)) ORDER BY
Relationship.ProofOfService;")
The error message is "type mismatch" but I can't figure out where the
problem is.
This has got to be a common procedure.
Thanks!