S
Sash
DebtID = rs4.Fields("PRIMARY_Debtor_ID")
DebtNo = rs4.Fields("Debt_No")
strSQL2 = "SELECT * from DEBT_PMT where [DEBT_ID] = " & DebtID & "" And
[DEBT_NO] = "" & DebtNo & """"
Set rs2 = db.OpenRecordset(strSQL2, dbOpenDynaset, dbSeeChanges)
I'm trying to create a recordset using the above and know I have the quotes
wrong. The DEBT_ID and DEBT_NO are all numbers. I just can't seem to get a
handle on the quotes. Any help would be greatly appreciated.
DebtNo = rs4.Fields("Debt_No")
strSQL2 = "SELECT * from DEBT_PMT where [DEBT_ID] = " & DebtID & "" And
[DEBT_NO] = "" & DebtNo & """"
Set rs2 = db.OpenRecordset(strSQL2, dbOpenDynaset, dbSeeChanges)
I'm trying to create a recordset using the above and know I have the quotes
wrong. The DEBT_ID and DEBT_NO are all numbers. I just can't seem to get a
handle on the quotes. Any help would be greatly appreciated.