Memo fields are tough to untangle. The DBF table has 10 characters reserved for each memo field in each record with a unique identifier that dBase then uses internally to find your "memo" in the DBT. I sure wouldn't try to do that myself, as there is not much documentation for that.
Depending on where you're trying to export to, you can
levitra always do it the long way. Since I have not worked with the program you're using to export nor the destination, my only suggestion is to try this alternative, though clunky it works fine with text. We will move the memo's text into character fields, but remember, dBase allows only up to 254 characters per character field. Here's a neat way to get around it.
Make sure there is a unique field for each record in the source file.
Then create a second "data" table to hold just the memo field contents:
C_TABLE && name of the source table (optional if just one table)
C_MFIELD && name of the memo field
C_RECID && record ID or whatever uniquely identifies the record
N_CNT && numeric field to hold the counter
C_DATA && data from memo field (size is 50, 100 or up to 250)
PROCEDURE memo2chr
SELECT 1
USE myfile && ORDER whatever
SELECT 2
USE memodata && this is work table described above
SELECT 1
SCAN
SELECT 2
DO copydata WITH "memofield1" && note: send memo field name
DO copydata WITH "memofield2" && since data may be huge
ENDSCAN
USE IN 1
USE IN 2
RETURN
PROCEDURE copydata
PARAMETER memoname
PRIVATE xlen, x, loopcnt, xdata
xlen=LEN(RTRIM(myfile->&memoname))
x=1
loopcnt=1
DO WHILE x<=xlen
xdata=SUBSTR(myfile->&memoname,x,50) && set chunk size here
* IF LEN(RTRIM(x_data))=0 && use the IF only to get rid of spaces?
APPEND BLANK
REPLACE c_table WITH ALIAS(1)
REPLACE c_mfield WITH memoname
REPLACE c_recid WITH myfile->uniquefld
REPLACE n_cnt WITH loopcnt
REPLACE c_data WITH x_data
* ENDIF
x=x+50
loopcnt=loopcnt+1
ENDDO
* now entire memo field has been copied in sections to char field
RETURN
Then do the reverse at the destination to put the data wherever you need it... if you have the know-how of course.
(If you knew your memo fields never held long strings of text/data, you could also do this idea within the same table by creating however many character fields were necessary to do this.)
This was the way one place I worked kept all their memo field data after their networks (MS Windows Servers) started having repeated problems with memo fields getting corrupted. Clunky, but you do what you have to do...