Description

Create an active list of keys on the server from the active list of keys on the client.

Syntax

U2_SaveList(ListName, VolumeName, SelNum)

Parameters

The function has the following parameters:

ParameterDescription
ListNameThe name to save the list as.
VolumeNameThe volume in which to save the list.
SelNumThe cursor to use while saving the list on the backend.

Returns

This subroutine does not return a value. Use Get_Status() to check for errors.

Remarks

This subroutine will always create the U2 list from Cursor 0 on the OpenInsight front end.

See also

U2_GetList()U2 Functions

Example

Declare subroutine Rlist, U2_SaveList, FsMsg
 
* Select date in OpenInsight
 
Rlist("SELECT 20 CUSTOMERS",5,"","","")
 
* Save the Selected keys in a list on the U2 Server.
 
U2_SaveList("CUSTOMER_LIST","U2_VOLUME_1",3)
 
If Get_Status(errCodes) then
 
   FsMsg(errCodes)
 
end
  • No labels