come fare?
codice:End If else If (QSCategoria = "") Then SQL = " SELECT * FROM Prodotti WHERE SCategoria = "& [QSSCategoria] &" AND Cancellato = False ORDER BY ID DESC " RS.Open SQL, Conn, 1 End If If (QSCategoria <> "") Then SQL = " SELECT * FROM Prodotti WHERE Categoria = "& [QSCategoria] &" AND Cancellato = False ORDER BY ID DESC" RS.Open SQL, Conn, 1 End If End If If Not RS.EoF Then RS.MoveFirst RS.AbsolutePage = QSPg If QSPg <> 1 Then Footer = "" & PrimaPagina & " " Else Footer = PrimaPagina & " " End If For I = 1 To RS.PageCount If I = QSPg Then Footer = Footer & I & " - " Else Footer = Footer & ""& I &" - " End If Next If QSPg <> RS.PageCount Then Footer = Footer & "" & UltimaPagina & "" Else Footer = Footer & UltimaPagina End If For I = 1 To RS.PageSize If RS.EOF Then Exit For %>

Rispondi quotando