did you ever found a solution to your question.
Thanks in advance
Otto
#include "FileIO.ch"
FUNCTION MAIN()
LOCAL cAllMemos
// open and read all dbf file into cStringa variable
nHandle := FOPEN( "memo2.fpt" )
nSize := FSeek( nHandle, 0, FS_END )
FSeek( nHandle, -nSize, FS_RELATIVE )
cAllMemos := SPACE( nSize )
nRead := FRead( nHandle, @cAllMemos, nSize )
FCLOSE( nHandle )
? cAllMemos
RETURN NIL
cAllMemos contains in a single fRead all fpt file.
For instance I search string "MARCO" in cAllMemos string.
Obviously I know structure of MEMO2.DBF
The question is: is it possible to get the number of record and the
name of memo field that corresponds to this search?
what are the rules for storing contents of memo fields in the file
fpt?
Does exist some any documentation?
@Harbour
FlexFile3
*In this first memo field I write "MARCO"
¯ In this I write
"BOSCHI" ¯