I generate report with Data Report without using Data Environment.
I have table like below
weight(NoRujukan,Sampel)
I want the data of the table group by NoRujukan.
My sql statement is,
VB Code:
rs.Open "SELECT weight.NoRujukan, weight.Sampel FROM weight group by NoRujukan", conn, adOpenStatic, adLockOptimistic
But, when execute, the error of the sql is something about aggregate function.
Wht does it mean?
Can anyone give me a sample of how to group data report?
