Hi all,
I've got the following (dynamic) SQL query:
SQLString = "SELECT field1, field2 FROM table1 WHERE ID=" & cboId & "AND No.=" & cboNo
I need to group this SQLString by ID. I've tried several ways and every time got the error message.
Do you have any suggestions where I should add the GROUP BY clause?
Many thanx,
Key
I've got the following (dynamic) SQL query:
SQLString = "SELECT field1, field2 FROM table1 WHERE ID=" & cboId & "AND No.=" & cboNo
I need to group this SQLString by ID. I've tried several ways and every time got the error message.
Do you have any suggestions where I should add the GROUP BY clause?
Many thanx,
Key