I have a somewhat complex query that locks up and utilizes 60% of the processing power of a dual processor server. I have to kill the process to stop it. I got it down to the following causing the problem.
Working Query Portion:
EffectiveDate: DLookUp("[txn_date]","lns2e","[loan_no] = [loan_no] and [txn_date] = [txn_date] and [txn_code] = 837")
this only returns the first record from what I can tell so I changed the syntax to what should be correct.
EffectiveDate: DLookUp("[txn_date]","lns2e","[loan_no] = '" & [loan_no] & "' and [txn_date] = [txn_date] and [txn_code] = 837")
I also have a criteria on this portion of the following
DateSerial(Year(DMax("[dt_lst_txn]","dda2aeom")),Month(DMax("[dt_lst_txn]","dda2aeom")),1)
Is this just to complex for access or am I doing something wrong?
Working Query Portion:
EffectiveDate: DLookUp("[txn_date]","lns2e","[loan_no] = [loan_no] and [txn_date] = [txn_date] and [txn_code] = 837")
this only returns the first record from what I can tell so I changed the syntax to what should be correct.
EffectiveDate: DLookUp("[txn_date]","lns2e","[loan_no] = '" & [loan_no] & "' and [txn_date] = [txn_date] and [txn_code] = 837")
I also have a criteria on this portion of the following
DateSerial(Year(DMax("[dt_lst_txn]","dda2aeom")),Month(DMax("[dt_lst_txn]","dda2aeom")),1)
Is this just to complex for access or am I doing something wrong?