Here is what I am doing. I have a GUI dialog that has information aboutaddresses associated to a person. The addresses are stored in a pliant database.However, a user who is using the dialog, can create new addresses, and until the dialog is closed (with OK button) I don't want to save those new address in a database. This means that the addresses are just Address objects and not Data:Address. So my algorithm for opening the dialog is

var List:Address list

each stored_address person:addresses list += stored_address

# do stuff with 'list' on the dialog, it will keep all the old # and new addresses

where add_address will register the address with the db (create a new key, etc.)Is this a correct idea, to convert all data to transient data, manipulate it and then save it all at once ? If so, should there be an automatic deepcopyif I do assignment of types

:= (X Data:X)

and similarly,

:= (Link:X Data:X) := (Pointer:X Data:X)

and vice versa,

:= (Data:X X):= (Data:X Link:X):= (Data:X Pointer:X)

Thanks,Boris

Message posted by hubert.tonneau on2004/10/26 10:34:10

Pliant database engine currently has no capability to copy records using ':='Only fields are supported.

On the other hand, the 'data_copy' instruction will do what you expect.