Vi prego aiutatemi.....VVoVe:
Allora faccio questa query con distinct
i percorsi sono tutti giusti e tutto quadra ma mi restituisce un errore cosi:codice:sql = "SELECT DISTINCT categoria FROM visite ORDER BY categoria ASC"
ora, che vuol dire? ho provato a eliminare la chiave primaria ma non cambia nulla qualcuno sa aiutarmi è urgente!!!codice:Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again. /directory/index.asp, line 9

VVoVe:
Rispondi quotando
non l'ho mai usato... ma che differenza c'è con la distinct? apparte il fatto che questa funziona!
