Link to home
Start Free TrialLog in
Avatar of katia_ibs
katia_ibs

asked on

WHEN REPLACED DSUM WITH TSUM - how to use expression instead of the name of the field

Hi, I have such problem: I have to create an application with MS Access, and I found that using the DSUM function is very slow, in order to make the process of data faster I red about replacing DSUM with other function - you called it TSUM. Anyway the TSUM function uses three parameters ,the first one is the name of the field, but in my case it is not a field,but expression and the function doesn't work.Do you have any idea how this problem can be solved? in my case:
tIZRAZ_FRZ = DLookup("[FRZ]", "ZAPD")
tFRZ = DSum(tIZRAZ_FRZ, "ZAPNEW", "[NOMER] = " & RS!NOMER)
Thanks,Katia
Avatar of frankytee
frankytee
Flag of Australia image

TSUM is not a valid Access function, create a recordset instead of the DSUM
ASKER CERTIFIED SOLUTION
Avatar of frankytee
frankytee
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial