Hi,
wonder if anyone can help me - before insanity sets in.
Basically, I have an ASP site working fine with an MS Access database backend.
I've just upsized to SQL Server and now my recordsets aren't working as expected. If I open my recordset and then go to display a value (esp. bits which I'm using as booleans) there's nothing there.
example:
Response.Write (rs.fields("myfield"
.value)
won't output anything, yet the below works:
iVal = rs.fields("myfield"
.value
Response.Write (iVal)
It's as running the value through a function means the record isn't read, yet setting a variable to the value forces the read and it's there. I've tried client and server positions for the cursor and just about anything/everything else. I've tried opening the rs, or executing it on the con, all with the same results. I've checked MDAC with the MS ComChecker and it's fine. I'm now at a complete loss - code that worked fine in Access is failing in the weirdest manner.
Anyone got any ideas or seen similar I'd really appeciate the input.
Thanks
Darren
wonder if anyone can help me - before insanity sets in.
Basically, I have an ASP site working fine with an MS Access database backend.
I've just upsized to SQL Server and now my recordsets aren't working as expected. If I open my recordset and then go to display a value (esp. bits which I'm using as booleans) there's nothing there.
example:
Response.Write (rs.fields("myfield"
won't output anything, yet the below works:
iVal = rs.fields("myfield"
Response.Write (iVal)
It's as running the value through a function means the record isn't read, yet setting a variable to the value forces the read and it's there. I've tried client and server positions for the cursor and just about anything/everything else. I've tried opening the rs, or executing it on the con, all with the same results. I've checked MDAC with the MS ComChecker and it's fine. I'm now at a complete loss - code that worked fine in Access is failing in the weirdest manner.
Anyone got any ideas or seen similar I'd really appeciate the input.
Thanks
Darren