Ciao a tutti,
ho un problema con la mia query che dovrebbe ritornare un singlo campo di un recordset
Codice PHP:
var conn setConnection();
        var 
rs Server.CreateObject("ADODB.recordset");
        try{
            var 
query "SELECT [imagePath] FROM news WHERE [id] = "+Request.QueryString('id')+";";
            
rs conn.Execute(query);
            
Response.write(rs("[imagePath]"));
... 
Il Response.write ritorna il seguente errore:
Item cannot be found in the collection corresponding to the requested name or ordinal.
Il campo non dovrebbe essere comunque vuoto o nullo, ma anche se fosse, non vorrei che fosse interpretato come errore.
Avete dei consigli?

Access
Jscript

Ciao