Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it L'avatar di Lino80
    Registrato dal
    Oct 2005
    Messaggi
    1,560

    inserire pulsanti pagina successiva e pagina precedente

    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
    %>

  2. #2

  3. #3
    Utente di HTML.it L'avatar di Lino80
    Registrato dal
    Oct 2005
    Messaggi
    1,560
    up

  4. #4
    Utente di HTML.it L'avatar di Lino80
    Registrato dal
    Oct 2005
    Messaggi
    1,560
    uppettone

  5. #5
    Utente di HTML.it L'avatar di Lino80
    Registrato dal
    Oct 2005
    Messaggi
    1,560
    uppettissimo!!!

  6. #6
    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
    
    			Precedente = "Precedente"
                            Successiva = "Successiva"
    
                                   If QSPg <> 1 Then
    					Footer = "" & PrimaPagina & " "
                                            Footer = Footer & "" & Precedente & " "
    				Else
    					Footer = PrimaPagina & " "
                                            Footer = Footer & Precedente
    				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 & "" & Successiva & " "
    					Footer = Footer & "" & UltimaPagina & ""
    				Else
    					[b]Footer = Footer & Successiva & " " & UltimaPagina
    				End If
    
    				For I = 1 To RS.PageSize
    					If RS.EOF Then Exit For
    %>

  7. #7
    Utente di HTML.it L'avatar di Lino80
    Registrato dal
    Oct 2005
    Messaggi
    1,560
    grazie

  8. #8
    Originariamente inviato da Lino80
    grazie
    Prego...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.