Per aggiungere nuovi campi li devi mettere nella select ed aggiungerli nel group by dopo il campo "nome".codice:.......... if ID_ABC > 0 then sql = "select nome from tbl where ID_ABC = " & ID_ABC & " group by nome" set rs = conn.execute(sql) do while not rs.eof %> <h1 align="left"><%=rs("nome")%></h1> <% rs.movenext loop rs.close set rs = nothing end if conn.close set conn = nothing %>
Sicuro ti serva il group by?
Roby

Rispondi quotando