Durante la conversione da ACCESS a MYSQL ho trovato questo errore:

codice:
strsql = "SELECT distinct str_giornata FROM tb_Calendari WHERE str_stagione="&StrAnnata&" ORDER BY str_giornata LIMIT "& inizio &", "& pageSize
Set objRS = server.CreateObject("ADODB.Recordset")
objRS.Open strSQL, objConn

Ottengo questo errore:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'

ODBC driver does not support the requested properties.


e l'istruzione DISTINCT che crea il problema?