If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
if/lookup??
help my mind is blank again !!
i have my value field and my invoice frequncy field, value field been the price and the inv freq been a number 1 to ...99. i need a expression which lookups the differnt freq numbers, and totals the value. i.e matches them(say all the 2's) to the price and totals all of them ?? is it possible ?? would i need an expression for every freq ?? Chris |
#2
|
|||
|
|||
if/lookup??
You can group by frequency field and do a sum on value (use the sigma symbol
on the toolbar to allow grouping in the design mode). In SQL you can also try this: SELECT DISTINCT freq, sum(value) FROM table; "Chris" wrote: help my mind is blank again !! i have my value field and my invoice frequncy field, value field been the price and the inv freq been a number 1 to ...99. i need a expression which lookups the differnt freq numbers, and totals the value. i.e matches them(say all the 2's) to the price and totals all of them ?? is it possible ?? would i need an expression for every freq ?? Chris |
#3
|
|||
|
|||
if/lookup??
Thank you much appreciated
"Basil" wrote: You can group by frequency field and do a sum on value (use the sigma symbol on the toolbar to allow grouping in the design mode). In SQL you can also try this: SELECT DISTINCT freq, sum(value) FROM table; "Chris" wrote: help my mind is blank again !! i have my value field and my invoice frequncy field, value field been the price and the inv freq been a number 1 to ...99. i need a expression which lookups the differnt freq numbers, and totals the value. i.e matches them(say all the 2's) to the price and totals all of them ?? is it possible ?? would i need an expression for every freq ?? Chris |
Thread Tools | |
Display Modes | |
|
|