theAntiGeek Posted June 28, 2006 Share Posted June 28, 2006 can anyone tell my why a variable in ASP is only storing characters in a string upto the first white space character? this string is from the value of "topic" from this SQL statement.rs.Open "SELECT topic FROM blogentrys ORDER BY entryNo DESC", connthe value of "topic" is "my first blog entry" i use the following code to assign this string to the variable:Dim topicValuetopicValue = rs.Fields.Item("topic").Valuebut when i display the value of the variable topicValue i get only "my".this def has something to do with the fact the string is coming from the sql statement.any help or explanation would be great.cheers guys Link to comment Share on other sites More sharing options...
theAntiGeek Posted June 28, 2006 Author Share Posted June 28, 2006 i have found a better way to do this so dont waste your time reading it. Link to comment Share on other sites More sharing options...
aspnetguy Posted June 28, 2006 Share Posted June 28, 2006 i have found a better way to do this so dont waste your time reading it.<{POST_SNAPBACK}> oh man, why is that the last thing i read? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now