Xenophobia
Technical User
I am working on a DSum actually, but they have the same variables and formats I believe.
I'll just paste the code I have right now:
"
=DSum("hours","timeRecord","empNumber=" & (Forms!mainApp!txtEmpId) And "dataDate=" & (Forms!mainApp!calendar))
"
Anyways, I'm not much of an Access Guru but rather work well with SQL queries and the like. So when I have to update a text field (which this DSum is the control source of) I get stumped at the syntax required... ESPECIALLY after googling and looking around at all the Quotes and Single Quotes that are required...
Anyways, you can tell I am trying to cross-reference an Employee Number through a field on my form as well as a date that will be selected by a user (on the same form, "mainApp") My real question is if anyone would know how to format the quotes around this DSum so that it actually WORKS?
Thank you,
~ Xenophobia
I'll just paste the code I have right now:
"
=DSum("hours","timeRecord","empNumber=" & (Forms!mainApp!txtEmpId) And "dataDate=" & (Forms!mainApp!calendar))
"
Anyways, I'm not much of an Access Guru but rather work well with SQL queries and the like. So when I have to update a text field (which this DSum is the control source of) I get stumped at the syntax required... ESPECIALLY after googling and looking around at all the Quotes and Single Quotes that are required...
Anyways, you can tell I am trying to cross-reference an Employee Number through a field on my form as well as a date that will be selected by a user (on the same form, "mainApp") My real question is if anyone would know how to format the quotes around this DSum so that it actually WORKS?
Thank you,
~ Xenophobia