I have a table with 3 ntext fields in an MSSQL database. When connecting and displaying the conents of these fields, the ntext fields are showing EMPTY in the ASP page.
This happens with ntext fields. ASP and MSSQL is horrible. It's times like this where MySQL/PHP shows it true colors...
The issue is with these 3 ntext fields. ASP WOULD NOT show all three. I changed it from "*" to the field names, put them all last, and even put them into variables right away. Until I changed one of them to a varchar 255 (which will only allow 255 chars), the other two then displayed.
Can anyone shed any light on this one?
Qry = "SELECT ID,Name,Sort,Prefinished,Logo,ID,Keywords,Description,mDescription FROM Manufacturers Where ID="&ID
rsManu.Open Qry, Application("Cart_ConnectionString")
var_sDesc=rsManu("Description")
var_mDesc=rsManu("mDescription")
var_sKeywords=rsManu("Keywords")
var_mName=rsManu("Name")
......
(KeywordsmDescription,mDescription were all ntext)
I remember reading a MS KB about this, but can't remember. Is there another field that it can be converted to? Thanks in advance.
Aaron
This happens with ntext fields. ASP and MSSQL is horrible. It's times like this where MySQL/PHP shows it true colors...
The issue is with these 3 ntext fields. ASP WOULD NOT show all three. I changed it from "*" to the field names, put them all last, and even put them into variables right away. Until I changed one of them to a varchar 255 (which will only allow 255 chars), the other two then displayed.
Can anyone shed any light on this one?
Qry = "SELECT ID,Name,Sort,Prefinished,Logo,ID,Keywords,Description,mDescription FROM Manufacturers Where ID="&ID
rsManu.Open Qry, Application("Cart_ConnectionString")
var_sDesc=rsManu("Description")
var_mDesc=rsManu("mDescription")
var_sKeywords=rsManu("Keywords")
var_mName=rsManu("Name")
......
(KeywordsmDescription,mDescription were all ntext)
I remember reading a MS KB about this, but can't remember. Is there another field that it can be converted to? Thanks in advance.
Aaron