2024-05-31 11:55 UTC+0200 Aleksander Czajczynski (hb fki.pl)

* doc/en/rdddb.txt
    ! update DBAPPEND( [<lUnlockAll>=.t.] ) documentation regarding
      the default value and action of the parameter
This commit is contained in:
Aleksander Czajczynski
2024-05-31 11:55:04 +02:00
parent 217d50769f
commit b047f4882a
2 changed files with 14 additions and 9 deletions

View File

@@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order. Entries may not always be in chronological/commit order.
See license at the end of file. */ See license at the end of file. */
2024-05-31 11:55 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* doc/en/rdddb.txt
! update DBAPPEND( [<lUnlockAll>=.t.] ) documentation regarding
the default value and action of the parameter
2024-05-31 11:49 UTC+0200 Aleksander Czajczynski (hb fki.pl) 2024-05-31 11:49 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* contrib/rddmisc/arrayrdd.prg * contrib/rddmisc/arrayrdd.prg
! group of fixes contributed in #355 by @VarenL: ! group of fixes contributed in #355 by @VarenL:

View File

@@ -103,11 +103,11 @@
$ONELINER$ $ONELINER$
Appends a new record to a database file. Appends a new record to a database file.
$SYNTAX$ $SYNTAX$
dbAppend( [<lLock>] ) --> NIL dbAppend( [<lUnlockAll>] ) --> lSuccess
$ARGUMENTS$ $ARGUMENTS$
<lLock> Toggle to release record locks <lUnlockAll> Toggle to release record locks
$RETURNS$ $RETURNS$
dbAppend() always returns NIL dbAppend() returns a logical true (.T.) if append was successful
$DESCRIPTION$ $DESCRIPTION$
This function add a new record to the end of the database This function add a new record to the end of the database
in the selected or aliased work area. All fields in that in the selected or aliased work area. All fields in that
@@ -122,13 +122,13 @@
operation: It attempts to lock the newly added record. If operation: It attempts to lock the newly added record. If
the database file is currently locked or if a locking assignment the database file is currently locked or if a locking assignment
is made to `LastRec() + 1`, NetErr() will return a logical true (.T.) is made to `LastRec() + 1`, NetErr() will return a logical true (.T.)
immediately after the dbAppend() function. This function does immediately after the dbAppend() function. Also by default this
not unlock the locked records. function does unlock previously locked records.
If <lLock> is passed a logical true (.T.) value, it will If <lUnlockAll> is passed a logical true (.T.) value, it will
release the record locks, which allows the application to maintain release the record locks. The default for this parameter is
multiple record locks during an appending operation. The a logical true (.T.). To maintain multiple record locks during
default for this parameter is a logical false (.F.). an appending operation explicitly specify logical false (.F.).
$EXAMPLES$ $EXAMPLES$
LOCAL cName := "Harbour", nAge := 15 LOCAL cName := "Harbour", nAge := 15
USE test USE test