0

I tried to sum a column using the

Dim myValue As Double =myDt.Compute("Sum("total cost"),"Condition")

But I ony end up with the result.

SyntaxError:SytaxError in argument: expecting an argument for singel column with possible "Child"-qualificator.

Anyone knows what I do wrong

I tried the same code with the column quantity and it worked great
bet not with the total cost column.

I am kinda lost.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by sknake
0

Is it because of the space in the name? Try "[total cost]" and "total_cost" to see if that fixes it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.