We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Another DSum question

SteveL13
SteveL13 asked
on
Medium Priority
247 Views
Last Modified: 2013-11-05
Can someone tell me what is wrong with this code?  Am using it in an unbouse field on a report.

=DSum([Cost],"tblOutpurchase","[EstN] = frmEstimateHeader!txtRealEstN")
Comment
Watch Question

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007

Commented:
Maybe this - if EstN is Text ?

=DSum([Cost],"tblOutpurchase","[EstN] = " & Chr(34) & Forms!frmEstimateHeader!txtRealEstN & Chr(34))

mx

Author

Commented:
Hmmm, I get a "Enter parameter value --  Cost" when I try to run the report.  I know Cost is the field in the table tblOutpurchase.  

Author

Commented:
And EstN is a text field.
Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*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.