G
Guest
I am trying to use an embedded DLookup inside a DSum to calculate funding for
fiscal years. The fiscal years will change but not the fields being summed.
I am using a separate table for the fiscal years and referencing each query
inside itself to sum the queries. I have entered BR OFF 2006:
DSum("[TOT_FUND]","D6 BR OFF","[SCHED_FY]=DLookup('[FY]","CURRENT FISCAL
YEAR","CURRENT FISCAL YEAR![ID]=1")")*1 but the program comes back with
an "string too long error". Can this be done? What is the proper syntax?
Can anyone suggest an easier way to do it?
Thanks.
fiscal years. The fiscal years will change but not the fields being summed.
I am using a separate table for the fiscal years and referencing each query
inside itself to sum the queries. I have entered BR OFF 2006:
DSum("[TOT_FUND]","D6 BR OFF","[SCHED_FY]=DLookup('[FY]","CURRENT FISCAL
YEAR","CURRENT FISCAL YEAR![ID]=1")")*1 but the program comes back with
an "string too long error". Can this be done? What is the proper syntax?
Can anyone suggest an easier way to do it?
Thanks.