Hi
I'd like to use a formula similar to SumIf in Access.
I have column 1 with product names and col 2 with Totals.
I would like to show totals for each product in col2.
Just unable to make this happen :banghead:
I've used code like this -
DoCmd.RunSQL "UPDATE Table1 SET Table1.Col2 = Select Sum(Table1.Col2) FROM Table1 Group By Table1.Col1"
However this throws an error.
Any help much appreciated. Thank you.
I'd like to use a formula similar to SumIf in Access.
I have column 1 with product names and col 2 with Totals.
I would like to show totals for each product in col2.
Just unable to make this happen :banghead:
I've used code like this -
DoCmd.RunSQL "UPDATE Table1 SET Table1.Col2 = Select Sum(Table1.Col2) FROM Table1 Group By Table1.Col1"
However this throws an error.
Any help much appreciated. Thank you.