prova così
codice:sql="select file_img from immagini" rs.open sql,conn,1,1 num=rs.recordcount randomize() posizione=CInt((num)*rnd()) rs.Move+posizione if not rs.eof then images=rs("file_img") end if rs.close
prova così
codice:sql="select file_img from immagini" rs.open sql,conn,1,1 num=rs.recordcount randomize() posizione=CInt((num)*rnd()) rs.Move+posizione if not rs.eof then images=rs("file_img") end if rs.close