User Tools

Site Tools


setkey_set_current_key_.htm
Navigation:  ABC Library Reference > FileManager > FileManager Methods >====== SetKey (set current key) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetKey( key ), PROTECTED

blk2blue.jpg

SetKey Makes the specified key current for use by other FileManager methods.
key The label of the KEY.

The SetKey method makes the specified key the current one for use by other FileManager methods.

Example:

FileManager.GetComponents FUNCTION(KEY K) !returns the number of key components

CODE

SELF.SetKey(K)                           !locate the specified key

RETURN RECORDS( SELF.Keys.Fields )       !count the components

setkey_set_current_key_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1