Guest_imported
New member
- Jan 1, 1970
- 0
ADODB.Fields error '800a0cc1'
ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application.
/temp/error.asp, line 15
This is the error I get when I enter the following code.
sql_cmd = "SELECT ReceivedAt, Facility, Priority, FromHost, left(Message,4) from systemevents where ReceivedAt BETWEEN { d'" & FormatStdDate(MyDateBegin) & "' } AND { d'" & FormatStdDate(MyDateEnd2) & "'} order by ReceivedAt desc"
I am getting the error because I want to select the first 4 characters of my message field. Please help me with the proper syntax. I am using VB script.
ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application.
/temp/error.asp, line 15
This is the error I get when I enter the following code.
sql_cmd = "SELECT ReceivedAt, Facility, Priority, FromHost, left(Message,4) from systemevents where ReceivedAt BETWEEN { d'" & FormatStdDate(MyDateBegin) & "' } AND { d'" & FormatStdDate(MyDateEnd2) & "'} order by ReceivedAt desc"
I am getting the error because I want to select the first 4 characters of my message field. Please help me with the proper syntax. I am using VB script.