Re: deleting a general field

Author: Eurico Chagas Filho

Posted: 2012-02-01 at 18:24:12

Check my routine for the case i was working on;

FUNCTION GetTexto

LPARAMETERS nCode, cText

*GetTexto( nCode, cText )

*

LOCAL cTemp, lSave, nOldArea

cTemp = []

lSave = .F.

nOldArea = SELECT()

IF !USED([Texts])

  USE Texts IN 0 ORDER Codigo NODATA SHARED   

  CURSORSETPROP("Buffering",5,[Texts])

ENDIF

SELECT Texts 

SEEK nCode IN Texts

&&Read

SCAN WHILE Code = nCode

      cTemp = cTemp + Text

ENDSCAN

cTemp = cTemp + SPACE(16300 - LEN(cTemp))   && a limit

SELECT (nOldArea) 

RETURN cTemp

>________________________________

> From: Gary Jeurink <g.jeurink@charter.net>

>To: 'ProFox Email List' <profox@leafe.com>

>Sent: Wednesday, February 1, 2012 7:44 PM

>Subject: RE: deleting a general field

>

>WHEN YOU RETRIEVE it, how do you know when you have all f it?

>

>

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1328138652.12277.YahooMailNeo@web160803.mail.bf1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Eurico Chagas Filho