wwUtils::WrCursor

Creates a Writable cursor from a SELECTed cursor by creating a copy with a new name.

o.WrCursor(pcNewName)

Return Value

nothing

Parameters

pcNewName
New cursor name.

Remarks

No checks for valid cursor are performed! Make sure you have a cursor and not a buffered table image! CURSOR MUST BE CURRENTLY SELECTED!

The new cursor will be deleted after it's closed just like the original 'cursor'.

When using VFP 8 or later use the READWRITE option of the SELECT statement to create writable cursors directly, which is much more efficient than this method which must copy cursors.


See also:

Library wwUtils

© West Wind Technologies, 1996-2024 • Updated: 12/10/09
Comment or report problem with topic