Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / December 2004



Tip: Looking for answers? Try searching our database.

Text Type Column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LUIS - 02 Dec 2004 00:29 GMT
I am using ADO with VB6 and SQL2000 to retreive data from tables with text
type columns. Sometimes works, sometimes not. Syntax as follow

Dim RS As ADODB.Recordset
Set RS = CursorGet("sp_RetrieveData", Var1, Var2)
txtTextBox.Text = RS("TextTypeColumn").Value

Is necessary some .LIB, Drivers or something? Please, help me.
Beforehand, thank you very much.

Signature

Luis Garcia
MS Developer

Jason Tost - 29 Dec 2004 17:39 GMT
Take a look at the Recordset GetChunk method.  Large data formats (i.e.
image, text, ntext) will allow updating small amounts of data through
select/update/insert, but with relatively larger amounts of data (I
believe >8K, or one data page) you must use GetChunk/AppendChunk to read
and write respectively.

See "text and image data types" in the Microsoft SQL Server Books
Online, as well as the MDAC SDK for more info:

http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthgetchunk.asp?frame=true
http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthappchunk.asp?frame=true
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.