|
-
Feb 1st, 2000, 11:51 PM
#1
Thread Starter
New Member
I use ADO to get a recordset that is returned from SQL store procedure.
I can display all of the fields value in the
recordset but I got "Runtime Error" when I try to display the "TEXT" type field.
Here is the one line code that generates the error :
txtMemo.Text = rsep("EpisodeMemo")
in recordset all the text field is not empty.
Why this happen?
Thanks advanced.
-
Feb 2nd, 2000, 05:40 AM
#2
Thread Starter
New Member
Thanks. I just found out that I should set the recordset cursor type to "adOpenKeyset" not "adforwardonly".
-
Feb 2nd, 2000, 12:37 PM
#3
Lively Member
What type of runtime error are you getting?
-
Feb 2nd, 2000, 12:56 PM
#4
New Member
It is because of the reference that you are making. I think your code should be something like that.
txtMemo.text = rsep("EpisodeMemo").value
That will put the field value in the text propertie instead of trying to assign the field reference to a the text property of the box.
Good luck
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
|