Ho il problema nel caricare un record set in un array, mi carica al massimo 22 elementi.
La select produce 1300 record da Access, ma da asp, se faccio ubound dopo il caricamento che segue mi dice 22 , come mai ?
grazie per la collaborazione
iNumRecPartiteRS vale sempre 22 come mai ?codice:dim aiPartIdRS ' carichi arrDati tramite il rs set GetPartite = db.execute("select * from PartiteEstesa") For iCampo = 0 To GetPartite.Fields.Count -1 If GetPartite.Fields(iCampo).Name = "ID" Then iCID = iCampo End if If GetPartite.Fields(iCampo).Name = "SqCasa.Squadra" Then iCSqCa = iCampo end if If GetPartite.Fields(iCampo).Name = "SqFuori.Squadra" Then iCSqFu = iCampo end if If GetPartite.Fields(iCampo).Name = "GolSqCasa" Then iCSqGCa = iCampo end if If GetPartite.Fields(iCampo).Name = "GolSqFuori" Then iCSqGFu = iCampo end if Next aiPartIdRS = GetPartite.GetRows() GetPartite.close set GetPartite = nothing iNumRecPartiteRS = ubound(aiPartIdRS)