|
| |
|
|
sgreen0
Posts: 726 From: Long Beach, CA, USA Status: offline
|
inserted - 10/16/2005 16:39:40
I've created a script that collects data from one table and inserts them into another. When any of the fields are empty, I find a & n b s p ; (spaces added so you can see it) in the field. I tried using an If fieldname <> "" then, but the same thing happens. Any ideas why this is happening or on how to avoid it? Stephen
|
|
|
|
sgreen0
Posts: 726 From: Long Beach, CA, USA Status: offline
|
RE: inserted - 10/16/2005 21:01:51
Well, I tried: If trim(Session("WebSite")) <> "" Then Rs("WebSite") = Session("WebSite") End If and If trim(Session("WebSite")) <> "" Then Rs("WebSite") = trim(Session("WebSite")) End If It still inserts & n b s p ; in the table. It's not really serious, just annoying. Stephen
|
|
|
|
sgreen0
Posts: 726 From: Long Beach, CA, USA Status: offline
|
RE: inserted - 10/17/2005 0:56:57
AHA! I've been using FieldVal(). What are the differences/benefits of using Field(), or FieldVal(), or FieldHTML(), or...??? S.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|