SQL string help please

AndyShuter

Registered User.
Local time
Today, 09:54
Joined
Mar 3, 2003
Messages
151
The following SQL query is returning no records when I know for a fact there are some there! Can anyone please hlp me?!

Dim strSQL As String
strSQL = "SELECT * FROM tblHirer WHERE HirerSurname= 'Forms!frmFinanceProposal!Child845!Text430'"
rsFindDuplicates.Open strSQL, CurrentProject.Connection, adOpenKeyset, adLockOptimistic
rsFindDuplicates.RecordCount


Also, I was wondering how I would put as 2nd filter on the recordset to equal a particular date?

Cheers
 
Thanks

Many thanks Pat. I see on here that your are always helping people and am sure there are many satisfied customers as I am

Many Thanks again

Andy
 

Users who are viewing this thread

Back
Top Bottom