IIS ASP - display problem

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > August 2005 > display problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author display problem
Andre

2005-08-29, 5:59 pm

Hi,

I have a strange problem when i try to display my data on a web page.
Everything's fine until i try to display a Date Value.

If i try to display this, no problem :

obj("data1")
obj("data2")
obj("data3")
obj("data4")

But if i try to display this, only "data1" and "data2" will by displayed
:

obj("data1")
obj("data2")
obj("DateData")
obj("data1")

(if i put DateData at the beginning, i will have a blank page)
(if i put DateData after Data1, only Data1 will be displayed)

did someone have any idea of my problem ?

Thank you


Mike

2005-08-29, 5:59 pm

I'm assuming obj refers to an ADO recordset object.

This is most likely an issue with the cursor type on your recordset.
Try setting these values before opening the recordset:

obj.CursorType = 2
obj.CursorLocation = 3

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com