Equinox Online Help - Language Reference - A to Z
PickWrite, PickRecordWrite |
|
---|---|
Applies to | |
Syntax | PickWrite ValueExpression, WritefieldName, [SearchExpression], IndexName [, LowerExpression, UpperExpression] PickRecordWrite ValueExpression, WritefieldName, [SearchExpression], IndexName [, LowerExpression, UpperExpression], Field1Name [, Field2Name, Field3Name, Field4Name] |
Action | [Statement] These statements compile a list of remote records that pass a search criterion. You pick one of the records and a specified field value is written to it. |
Scope | Usable anywhere. |
Notes | This statement is similar to the Pick function in that it generates a list of remote records defined by IndexName, SearchExpression, LowerExpression and UpperExpression. Any of SearchExpression, LowerExpression and UpperExpression may be MakeKey values. Rather than reading value from the remote record, this statement writes a new value into the specified field (WritefieldName) in the remote record. ValueExpression supplies the new field value. Apart from setting the field value, this statement also sets the SysReply system workarea
Note that you:
|
Category | Pick lists |
See Also | Pick_PickRecord, PickCaptions, PickColumnWidths, PickFields, PickList, PickListSelection, PickRange_PickRecordRange, PickSelection |
Example | The following example allows the user to choose sixteen seeds for a forthcoming tennis match. The PickRecordWrite statement displays a list of players, with their ranking and country of origin. for i = 1 To 16PopupTitle "Choose seed no " & inext |