4D v16.3

USE NAMED SELECTION

Home

 
4D v16.3
USE NAMED SELECTION

USE NAMED SELECTION 


 

USE NAMED SELECTION ( name ) 
Parameter Type   Description
name  String in Name of named selection to be used

USE NAMED SELECTION uses the named selection name as the current selection for the table to which it belongs.

When you create a named selection, the current record is “remembered” by the named selection. USE NAMED SELECTION retrieves the position of this record and makes the record the new current record; this command loads the current record. If the current record was modified after name was created, the record should be saved before USE NAMED SELECTION is executed, in order to avoid losing the modified information.

Remember that a named selection is a representation of a selection of records at the moment that the named selection is created. If the records represented by the named selection change, the named selection may no longer be accurate. Therefore, a named selection represents a group of records that does not change frequently. A number of things can invalidate a named selection: modifying a record of the named selection, deleting a record of the named selection, or changing the criterion that determined the named selection.



See also 

COPY NAMED SELECTION
CUT NAMED SELECTION
USE NAMED SELECTION

 
PROPERTIES 

Product: 4D
Theme: Named Selections
Number: 332

This command changes the currrent recordThe command changes the current selectionThis command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)