Set Rs = Server.CreateObject("ADODB.Recordset"
SQL = "SELECT DISTINCT deplist.department, deplist.course from depList"
Rs.Open SQL, deplist, 1,3
The query will display distinct if I remove deplist.course, but since I will actually need two more columns later including deplist.course I need to have the ability to display distinct records in more than one column.
SQL = "SELECT DISTINCT deplist.department, deplist.course from depList"
Rs.Open SQL, deplist, 1,3
The query will display distinct if I remove deplist.course, but since I will actually need two more columns later including deplist.course I need to have the ability to display distinct records in more than one column.