DSUM QUESTION

G

Guest

I am a relatively new user to Access and I have a few questions regarding the
DSUM function. I have a few tables in my database that I am trying to link
some information on. The first table contains a list of distinct order
numbers (Order Numbers Table). The second table is a transaction table that
could show each order number more than once (Transactions Table). I am
trying to do a DSUM in an update query so that it will return the sum of the
dollar totals in the "transaction" table to the "order table" with each
corresponding order number.

When I attempt to use the expression from the help menu the field that I am
trying to update doesn't return any values for any of the order numbers.

Can someone help me with this and also tell me what each part of the DSUM
expression does? Specifically, what does the _& do?

DSum("[Total - From Transactions Table]", "Transactions", "[Order Number] =
" _& [Order Number])

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with expression 4
Dsum Issues 0
Apply Month End date based on transaction date 5
Help with DSUM 3
Dsum cont: 1
Access Updating inventory levels 0
DSum Countrol Source Help 5
Dsum usage (limiting to a certain item) 1

Top