DSum Function from another table than the report's source (1 Viewer)

jlathem

Registered User.
Local time
Today, 02:30
Joined
Jul 25, 2010
Messages
201
Hey guys,

Is there an easy way to put a field in a report that DSum a field from another table than the Report’s Source?

Something like

Customer_ID (from Customer table)
Customer Info (from Customer table)
Total purchases (from the Sales table)

Would the Source of the field be something using the DSum Function?
Something like:
= DSum(“Total_Amount”, “Sales”, WHERE Customer_ID = [Customer_ID]

Thanks for any assistance,
James
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 23:30
Joined
Aug 30, 2003
Messages
36,133
No, you still want DSum, but the syntax is the same for all of the domain aggregate functions. They just used DLookup for the examples.
 

jlathem

Registered User.
Local time
Today, 02:30
Joined
Jul 25, 2010
Messages
201
That's what I thought.

Thanks for your help.

James
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 23:30
Joined
Aug 30, 2003
Messages
36,133
No problemo James.
 

Users who are viewing this thread

Top Bottom