Navigation:  Classes > bDBServer >

bDBServer:Seek()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Move to the record having the specified key value in the controlling order.

Class

bDBServer

Type

Method

Syntax

<oDBServer>:Seek(

<uKey>,

[<lSoftSeek>],

[<lLast>]

) Æ lFound

Arguments

<uKey>The key value that is to be searched in the current order.
Data Type:Usual

 

<lSoftSeek>A logical value that indicates, how the server is to be positioned, if the specified key value is not found. With TRUE a SoftSeek search is implemented. As a default, the current SetSoftSeek() setting is used.
Data Type:Logic

 

<lLast>A logical value that indicates whether the last occurrence of the key value is to be searched. With the value TRUE the last record to the key value is searched. As a default, the value FALSE is used.
Data Type:Logic

Return Value

lFoundA logical value that indicates whether the key value was found.
TRUEThe key value was found.
FALSEThe key value was not found.
Data Type:Logic

Description

The search after the last occurrence of the key value is supported also by databases with the format DBFNTX.

 


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