Hi everyone,
I'm not a programmer but I've been making something for the company to help with the productivity and I'm learning as I go along. I've done a decent enough job, but something which would take everyone else 5 minutes probably takes me an hour, which involves constantly hitting F1, googling every site, and doing a million trial and errors =P
However, I figure, this time I'll ask, before I throw my monitor out of the window.
I can't figure this out -
countrecord = DCount("[Sales Person]", "[Customers Data]", "[Sales Person] = '" & valueSalesPerson & "'" And "[Customers Data].[Next Action Date] => #" & Date & "#")
If I seperate them, it works, but once I put an AND in between them, it screws up with the type mismatch crap. I feel I got all the quotes & parameters and all that right, so I don't get it why its not working.
Thanks, guys
I'm not a programmer but I've been making something for the company to help with the productivity and I'm learning as I go along. I've done a decent enough job, but something which would take everyone else 5 minutes probably takes me an hour, which involves constantly hitting F1, googling every site, and doing a million trial and errors =P
However, I figure, this time I'll ask, before I throw my monitor out of the window.
I can't figure this out -
countrecord = DCount("[Sales Person]", "[Customers Data]", "[Sales Person] = '" & valueSalesPerson & "'" And "[Customers Data].[Next Action Date] => #" & Date & "#")
If I seperate them, it works, but once I put an AND in between them, it screws up with the type mismatch crap. I feel I got all the quotes & parameters and all that right, so I don't get it why its not working.
Thanks, guys