%
if SESSION("UserID")="" then
response.End
end if
if not CheckSecurity(SESSION("_" & strTableName & "_OwnerID"),"Search") then
response.End
end if
dbConnection=""
db_connect()
Set rs = server.CreateObject("ADODB.Recordset")
Set rss = server.CreateObject("ADODB.Recordset")
dim recordsCounter
strSQL = gstrSQL
str = SecuritySQL("Search")
if len(str)>0 then _
where = where & " and " & str
strSQL=gSQLWhereAdd(where)
strSQL=strSQL & " " & gstrOrderBy
rowcount=gSQLRowCount(where)
if rowcount > 0 then
rs.Open strSQL, dbConnection,1,2
response.write "Dettagli trovati" & ": " & rowcount & ""
if rowcount > 10 then
response.write ". Displaying first: 10.
"
else
response.write "
"
end if
response.write "
N_Buono | " response.write "importo | " response.write "data_emissione | " response.write "
" & value & " | " '// importo - Number value="" value = ProcessLargeText(GetData(rs,"importo", "Number"),"field=importo" & keylink,"",MODE_PRINT) response.write "" & value & " | " '// data_emissione - Short Date value="" value = ProcessLargeText(GetData(rs,"data_emissione", "Short Date"),"field=data%5Femissione" & keylink,"",MODE_PRINT) response.write "" & value & " | " response.write "