I have a simple recordset being pulled from a SQL DB.
set rsth = CreateObject("ADODB.Recordset"
strSQLh = "select * from Exhibits where ID=1"
rsth.Open strSQLh, conn
when I do a response.write of the first value ID, everything is OK, meaning it writes to the page.
--->response.write rsth("ID"
when I do a response.write for second value name, eveything is still OK.
--->response.write rsth("name"
yet when I do a response.write of rsth("notes"
, notes do not show up and the value for name is gone now!
--->response.write rsth("notes"
I have even dim-ed variables and assign the recordset value to each variable, but same issue pops up.
Anyone have this problem? More importantly, anyone have a solution.
FYI .....
ID is int
Name is varchar(200)
Notes is text
JP
_______________________________________________
OutsideIntranets.com
Stop wasting time, get to work
set rsth = CreateObject("ADODB.Recordset"
strSQLh = "select * from Exhibits where ID=1"
rsth.Open strSQLh, conn
when I do a response.write of the first value ID, everything is OK, meaning it writes to the page.
--->response.write rsth("ID"
when I do a response.write for second value name, eveything is still OK.
--->response.write rsth("name"
yet when I do a response.write of rsth("notes"
--->response.write rsth("notes"
I have even dim-ed variables and assign the recordset value to each variable, but same issue pops up.
Anyone have this problem? More importantly, anyone have a solution.
FYI .....
ID is int
Name is varchar(200)
Notes is text
JP
_______________________________________________
OutsideIntranets.com
Stop wasting time, get to work