Navigation:  Classes > bDBServer >

bDBServer:RecordRestore()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Restores a previously saved record.

Class

bDBServer

Type

Method

Syntax

<oDBServer>:RecordRestore(<uaRecord>) Æ lSuccess

Arguments

uaRecordAn array with the saved record informations.
Data Type:Array

Return Value

lSuccessA logical value that indicates whether the record was restored.
TRUEThe record was restored.
FALSEThe record could not restored.
Data Type:Logic

Description

bDBServer:RecordRestore() restores a previously saved record. If the server possesses relations on other servers then the related records are also restored.

 

Important note!
With the method bDBServer:RecordSave() several settings of a record can be saved. When this method is called the class bDBServer allocates memory, that must be released by calling the method bDBServer:RecordRestore() or bDBServer:RecordRelease(). Otherwise a memory leak arises that gets bigger and bigger with every call of the method bDBServer:RecordSave().

See Also

bDBServer:RecordRelease()

bDBServer:RecordSave()

 


Page url: http://www.YOURSERVER.com/index.html?bdbserver_recordrestore.htm