|
-
Feb 26th, 2003, 03:37 PM
#1
Thread Starter
Junior Member
Text Data Type
What aren't I doing right with the SQL text data type in my code?
In some pages that I am developing, there are recordsets with 2 or more fields with text data type.
Sometimes it seems that these fields do not appear when I use <%= rsTable("text_field") %>, and sometimes it seems that it is causing other fields not to show when I use the same <%= rsTable("other_field") %>
Is there any special treatment for SQL text datatype in ASP ?
-
Feb 27th, 2003, 05:59 AM
#2
Fanatic Member
Are you sure those fields aren't empty?
There isn't something like an SQL Text data type in ASP, they're just plain strings.
Check for Len(rs("text_field")) = 0 to see whether a field is empty.
-
Feb 27th, 2003, 10:04 AM
#3
Thread Starter
Junior Member
Yes, I am sure they are NOT empty.
As I said, sometimes they work fine, and sometimes they don't work.
The text fields in SQL are problematic ! I have a hard time with them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|