Grazie per avermi risposto,
mi spiego meglio:
devo modificare una pagina che genera una fattura. Vorrei fare in modo che, in base all'operatore che ha effettuato il login, vengano recuperati alcuni dati che lo identificano, come "e-mail" e "Id"
la mia query è:
StrSql = "SELECT * FROM " & _
"(SELECT Valore RagioneSociale FROM Parametri WHERE NomeParam='RagioneSociale') a, " & _
"(SELECT Valore Indirizzo FROM Parametri WHERE NomeParam='Indirizzo') b, " & _
....
....
"(SELECT Email "variabile_operatore" FROM admin WHERE user='"variabile_operatore"') f, " & _
Set MyRs = RunQuery(StrSql)
IntFattura = "[img]Immagini/" & MyRs("Logo") & "[/img]
"
IntFattura = IntFattura & "" & MyRs("RagioneSociale") & "
" & MyRs("Indirizzo") & "
"
IntFattura = ..... .....
IntFattura = IntFattura & "e-mail: " & MyRs("variabile_operatore") & "
"
IntFattura = IntFattura & ..........
avevo già provato a fare come mi hai detto ma mi dà come errore:
HTTP 500.100 - Errore interno del server - errore ASP
Internet Information Services
(0x80020009)
Eccezione.

Rispondi quotando