Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hbdoc: update DBAPPEND( [<lUnlockAll>=.t.] ) documentation regarding … #342

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions doc/en/rdddb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@
$ONELINER$
Appends a new record to a database file.
$SYNTAX$
dbAppend( [<lLock>] ) --> NIL
dbAppend( [<lUnlockAll>] ) --> lSuccess
$ARGUMENTS$
<lLock> Toggle to release record locks
<lUnlockAll> Toggle to release record locks
$RETURNS$
dbAppend() always returns NIL
dbAppend() returns a logical true (.T.) if append was successful
$DESCRIPTION$
This function add a new record to the end of the database
in the selected or aliased work area. All fields in that
Expand All @@ -122,13 +122,13 @@
operation: It attempts to lock the newly added record. If
the database file is currently locked or if a locking assignment
is made to `LastRec() + 1`, NetErr() will return a logical true (.T.)
immediately after the dbAppend() function. This function does
not unlock the locked records.
immediately after the dbAppend() function. Also by default this
function does unlock previously locked records.

If <lLock> is passed a logical true (.T.) value, it will
release the record locks, which allows the application to maintain
multiple record locks during an appending operation. The
default for this parameter is a logical false (.F.).
If <lUnlockAll> is passed a logical true (.T.) value, it will
release the record locks. The default for this parameter is
a logical true (.T.). To maintain multiple record locks during
an appending operation explicitly specify logical false (.F.).
$EXAMPLES$
LOCAL cName := "Harbour", nAge := 15
USE test
Expand Down