We help IT Professionals succeed at work.

DSum question again

SteveL13
SteveL13 asked
on
Medium Priority
358 Views
Last Modified: 2013-11-05
Someone helped me yesterday with part of this but I have to add to it.  What is wrong with this syntax?

     Me.txtBooked = DSum("[QuotedSales]", "OpenJob", "[ProductCode] <> 350 and [BookedDate] between " & "#" & Forms!frmSelectDateRange!txtStart & "#" & " And " & "#" & Forms!frmSelectDateRange!txtEnd & "#" & "" and [DueDate] between " & "#" & Forms!frmSelectDateRange!txtCMS & "#" & " And " & "#" & Forms!frmSelectDateRange!txtCME & "#" & "")

--Steve
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks as always.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.