|
|
Sponsor |
Re: Value of TEXT field disappears when read more than once: msg#00011db.mysql.odbc
Ranjit Singh Sandhu wrote: Hello,This is common to ADO (I believe). Since "text" fields are so huge, to conserve memory, ADO jettisons that memory once you refer to it. What I usually do is something like this... Dim varTextFld as Variant varTextFld = myRecordset.Field["myField"].Value From that point on, you can do other manipulations as needed, such as... If Is_Null(varTextFld) Then ...and... varTextFld = Replace(varTextFld, vbCrLf, "<br />") Hope that helps - ADO works the same way with Access (the "memo" field type) and the "text" field type with SQL Server. Daniel J. Summers danieljs@xxxxxxxxxxx -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: #delete after form update, cjackson |
|---|---|
| Next by Date: | Crystal Reoports V9 & MySQL ODBC 3.51.18, Kerry Frater |
| Previous by Thread: | Value of TEXT field disappears when read more than once, Ranjit Singh Sandhu |
| Next by Thread: | myodbc character sets, Joseph Garry |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|