* bin/commit.hb
* config/detect.mk
* config/detfun.mk
* config/detplat.mk
* config/dir.mk
* config/dirsh.mk
* config/global.mk
* config/globsh.mk
* config/instsh.mk
* config/lang.hb
* config/lang2po.hb
* config/po2lang.hb
* config/postinst.hb
* contrib/hbexpat/tests/tohash.prg
* contrib/hbformat/utils/hbformat.ini
* contrib/hbmisc/hbedit.prg
* contrib/hbmxml/tests/testmxml.prg
* contrib/hbnetio/utils/hbnetio/_console.prg
* contrib/hbnetio/utils/hbnetio/_winsvc.prg
* contrib/hbnetio/utils/hbnetio/hbnetio.prg
* contrib/hbnetio/utils/hbnetio/netiomgm.hb
* contrib/hbwin/tests/ole.prg
* contrib/hbwin/tests/oletst2.js
* contrib/hbwin/tests/oletst2.vbs
* contrib/hbxpp/doc/en/binnumx.txt
* contrib/hbxpp/doc/en/dbcmdx.txt
* contrib/xhb/htmutil.prg
* contrib/xhb/tfile.prg
* contrib/xhb/tframe.prg
* contrib/xhb/thtm.prg
* ChangeLog.txt
* debian/copyright
* doc/class_tp.txt
* doc/hdr_tpl.txt
* doc/xhb-diff.txt
* LICENSE.txt
* package/harbour-wce.spec.in
* package/harbour-win.spec.in
* package/harbour.spec
* package/mpkg_rpm_wce.sh
* package/mpkg_rpm_win.sh
* package/mpkg_rpm.sh
* package/mpkg_src.sh
* package/mpkg_ver.sh
* src/rtl/achoice.prg
* src/rtl/getsys53.prg
* src/rtl/tgetlist.prg
* src/rtl/tlabel.prg
* src/rtl/tmenusys.prg
* tests/hbdoc.prg
* tests/langmsg.prg
* tests/rto_get.prg
* tests/rto_tb.prg
+ doc/en/ati.txt
+ doc/en/dirdrive.txt
+ doc/en/hashfunc.txt
+ doc/en/hbtoken.txt
+ doc/en/left.txt
+ doc/en/proc.txt
+ doc/en/strtran.txt
+ doc/en/transfrm.txt
+ doc/en/typefile.txt
* doc/en/*
* more partial sync with 3.4 fork
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
/* $DOC$
|
|
$AUTHOR$
|
|
Copyright 2001-2002 David G. Holm <dholm@jsd-llc.com>
|
|
$TEMPLATE$
|
|
Procedure
|
|
$NAME$
|
|
__dbSDF()
|
|
$CATEGORY$
|
|
API
|
|
$SUBCATEGORY$
|
|
Database
|
|
$ONELINER$
|
|
Copies the contents of a database to an SDF text file or appends the
|
|
contents of an SDF text file to a database.
|
|
$SYNTAX$
|
|
__dbSDF( <lExport>, <xcFile>, [<aFields>],
|
|
[<bFor>], [<bWhile>], [<nNext>], [<nRecord>], <lRest> )
|
|
$ARGUMENTS$
|
|
<lExport> If set to .T., copies records to an SDF file.
|
|
If set to .F., append records from an SDF file.
|
|
|
|
<xcFile> The name of the text file to copy to or append from.
|
|
If a file extension is not specified, ".txt" is used by default.
|
|
|
|
<aFields> An array of field names to limit the processing to. If not
|
|
specified, or if empty, then all fields are processed.
|
|
|
|
<bFor> An optional code block containing a FOR expression that will
|
|
reduce the number of records to be processed.
|
|
|
|
<bWhile> An optional code block containing a WHILE expression that will
|
|
reduce the number of records to be processed.
|
|
|
|
<nNext> If present, but <nRecord> is not present, specifies to process
|
|
this number of records, starting with the current record.
|
|
A value of 0 means to process no records.
|
|
|
|
<nRecord> If present, specifies the only record to process. A value of 0
|
|
means to process no records. Overrides <nNext> and <lRest>.
|
|
|
|
<lRest> If <lExport> is .T., then if <lRest> is set to .T. and there are
|
|
no <nRecord>, <nNext>, or <bWhile> arguments, processes all records from
|
|
current to last.
|
|
$DESCRIPTION$
|
|
__dbSDF() copies all or selected contents of a database table to an SDF
|
|
text file or appends all or selected contents of an SDF text file to a
|
|
database table.
|
|
$EXAMPLES$
|
|
// Copy delinquent accounts into an SDF text file.
|
|
USE accounts NEW
|
|
COPY TO overdue SDF FOR ;
|
|
! Empty( accounts->duedate ) .AND. ;
|
|
Date() - accounts->duedate > 30
|
|
// Import new customer records.
|
|
USE customer NEW
|
|
APPEND FROM customer SDF
|
|
$STATUS$
|
|
S
|
|
$COMPLIANCE$
|
|
C
|
|
$PLATFORMS$
|
|
All
|
|
$FILES$
|
|
|
|
$SEEALSO$
|
|
__dbDelim(), APPEND FROM, COPY TO
|
|
$END$
|
|
*/
|