SteveL13
asked on
Recordset issue
I'm trying to set a recordset using the following but it is not limiting the results to the EstID
Set rs = CurrentDb.OpenRecordset("q ryEstimate DetailRepo rt", , "[EstID]=" & Me.txtEstID)
What am I doing wrong?
Set rs = CurrentDb.OpenRecordset("q
What am I doing wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Am getting an error on:
strSQL = "SELECT * FROM qryEstimateDetailReport WHERE [EstID]=" & Me.txtEstID"
strSQL = "SELECT * FROM qryEstimateDetailReport WHERE [EstID]=" & Me.txtEstID"
Whoops - drop the last quote:
strSQL = "SELECT * FROM qryEstimateDetailReport WHERE [EstID]=" & Me.txtEstID
Open in new window