J
Jim
Hello,
I get a syntax error when my function gets to this line: .Open "SELECT *
FROM [tblWages] WHERE [dtmDate] = Year[dtmDate]= Year(Now())",
CurrentProject.Connection
What I'm trying to do is calculate year to date gross wages. Once it gets
past the above line, I also need to know how to sum the field [dblGross] in
my table [tblWages] so I can put the results into a text box on my report.
I'm using vba in Access 2003.
Thanks for any help
Jim
I get a syntax error when my function gets to this line: .Open "SELECT *
FROM [tblWages] WHERE [dtmDate] = Year[dtmDate]= Year(Now())",
CurrentProject.Connection
What I'm trying to do is calculate year to date gross wages. Once it gets
past the above line, I also need to know how to sum the field [dblGross] in
my table [tblWages] so I can put the results into a text box on my report.
I'm using vba in Access 2003.
Thanks for any help
Jim