may I suggest you two 'more modern' ways to do it ?

First, using SCAN ... ENDSCAN is simpler and faster. You can use the FOR 
and WHILE clause if you want to filter your export.

USE AT001 IN 0 ORDER I001C02
lnFileHandle = FCREATE('Interf2008.txt')

SELECT AT001
SCAN
  = FPUTS(m.lnFileHandle, c001numped + "|") 
ENDSCAN

FCLOSE(m.lnFileHandle)

Second,  I do think that you can do the same thing using the COPY 
command (see the help for correct syntax ...)

USE AT001 IN 0 ORDER I001C02

SELECT AT001

COPY TO ('Interf2008.txt')  FIELDS c001numped TYPE DELIMITED WITH "|"

-- 
Jean MAURICE
Grenoble - France - Europe
www.atoutfox.org
www.aedtf.org


_______________________________________________
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