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 <[email protected]>
>To: 'ProFox Email List' <[email protected]> 
>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: [email protected]
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/[email protected]
** 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.

Reply via email to