Clone ( [datastore|datawindow] original, [datastore|datawindow] clone ) return none- Syntax 1

The purpose of the Clone method is to make a copy of either a datastore/datawindow to another datastore/datawindow. If the clone object/control does not exists or is not valid, it is automatically instantiated.

It replace the usual code based on instantiation and rowscopy techniques by a more concise
and readable code :

...
datastore lds_original
datastore lds_copy
...
if #.Clone( lds_original, lds_copy ) = -1 then return -1
...

Last edited Jul 14, 2015 at 4:05 PM by domangep, version 2