G
Gator
I getting invalid syntax with DSUM.
I trying to pull an amount from a atable where criteria is the year in
txtDate AND the account number is in txtAccount.
Both txtDate and txtAccount are on the same form.
Here is my DSUM...
=DSum("Amount","Deposits","[AccountColumn]="[Me!txtAccount] AND
"[DateColumn]="(Year[Me!txtDate])
I trying to pull an amount from a atable where criteria is the year in
txtDate AND the account number is in txtAccount.
Both txtDate and txtAccount are on the same form.
Here is my DSUM...
=DSum("Amount","Deposits","[AccountColumn]="[Me!txtAccount] AND
"[DateColumn]="(Year[Me!txtDate])