Microsoft
Software
Hardware
Network
Question : top 1 query data
hi,
i am getting the following error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
using the below code:
allaccountlist=split(submi
ttedaccoun
tNumber,"|
")
maxcounter=ubound(allaccou
ntlist)
whereclause=" where RDOUT_AN in ('" & allaccountlist(0) & "'"
FOR counter=1 TO maxcounter
thisaccount=allaccountlist
(counter)
if thisaccount = "" then
else
whereclause=whereclause & ", '" & thisaccount & "'"
end if
NEXT
whereclause=whereclause&")
"
strQueryCurrentUTR = "SELECT RDOUT_XSI, RDOUT_XD FROM RDOUT "&whereclause&" and RDOUT_BI ='"&Session("bankcode")&"'
order by RDOUT_D desc, RDOUT_T desc"
'--- query execution
Set oRsCurrentUTR = objConn.Execute( strQueryCurrentUTR )
Dim i
for i=1 to 1
xmldata = oRsCurrentUTR.Fields("RDOU
T_XD").Val
ue
xmlstyle = oRsCurrentUTR.Fields("RDOU
T_XSI").Va
lue
next
i am doing this query to get the top 1 data. what could be here wrong. is there a best and a more reliable way to get the top 1 data?
Answer : top 1 query data
I found another solution with bginfo there you can set an background picture too.
Random Solutions
Moving stored procedure from SQL Server 2000 to 2005, multiple table inserts and SCOPE_IDENTITY
WSUS 3.0 SP2 Client Computers are not registering with Windows Update Server
new Host Name
How to Schedule to Update the table column in oracle 10g
Domain Admin Exchange account
MTX has HUGE delays when sending commands to Storagetek L700E
Camera Raw - Downsizing?
How to replace hard drive on Sony VGN-NS240E laptop. PCG-7153L
sbs2003 "windows 7" setup.exe problem
Two USB Headsets at the same time??