Retrieving Data from a Text Field

I have a table with a text field that stores a long description. When I use the Select statement to query the table, it only returns 255 characters. How do I extract those data stored in the text field (using VB recordset)?

You need to declare a variable for the text chunk you want to manipulate, and a variable to mind the offset into the text field you’re working on.

The first fetch out of the text field puts you at position 256 for the next fetch, so grab the second chunk and increment the offset to mind where you are. Continue until you’re exhausted.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: