Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
how to run aggregate function in expression
tables in access
1.print the cars which are fast moving cars.
i have written this code but it shows message Cannot have aggregate function in expression
pl show me anyother way to solve this problem
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
da = New OleDbDataAdapter("select * from car where carno=(select carno from sales where sum(num)=(select max(sum(num)) from sales group by carno) group by carno)", cn)
DataGridView1.DataSource = ds.Tables(0)
End Sub [/code]