re dsum

R

Roy

Roy,

This is confusing. What do you mean the field "code" is not unique? There
cannot be more than one field in a table with the same name. More detail,
please

Roy said:
i have try to make a dsum in my query but i got a problem, i think!!
Allen Browne sugest "=DSum("quantity", "Table1", "code <= " &
Code:
)"
but, the field "code" is noy unique.

for a better explination:
a stock take is inserted all days into the database, that is all pallets in
stock at the moment.
i can have a number of pallets with the same products.
each pallet have a individual weight, sow i want to show the pallets i need
to meat todays order.

i hope u understand

if its easier to do in a text field in a tabular form, i will, else i have
to sort this issue in the query

thank u[/QUOTE]
******************************************
message of yesterday

what i mean by code not being unique is that u can have:
Code     Description       Kilos
112121  Rump Steak     300
112121  Rump Steak     250
112121  Rump Steak     280
977234  Sirloin Steak    200
977234  Sirloin Steak    230
....
and what i what is this
Code     Description       Kilos    Kilos Ac
112121  Rump Steak     300      300
112121  Rump Steak     250      550
112121  Rump Steak     280      830
977234  Sirloin Steak    200     1030
977234  Sirloin Steak    230     1260

thank u
 

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

query split 0
smart way of slit 2 0
forecast production days 3
dsum problems 1
Listbox execute SQL error 2
random start and calculation 3
query dsum 1
Use of DateSelect in SQL filter 3

Top