solita "rottura" per la sintassi
Dim nome_tabella
if session("lingua") = ("ita") or session("lingua") = "" then
nome_tabella = ("Menu_ita")
else
nome_tabella = ("Menu_eng")
end if
set nome_tabella = Server.CreateObject("ADODB.Recordset")
sql = " SELECT * from" &nome_tabella& "where IDPadre ="& 0 & " Order by posizione "
nome_tabella.ActiveConnection = cn
nome_tabella.Open sql, cn
come faccio a concatenare nome_tabella ?

Rispondi quotando