I solved it.
I just didn't follow the syntax.  Here some snipptets

'Instantiate the List Object
Set pSelectlist = UniSession.SelectList(0)
'associating the record is which are attributes of a dynamic Array 'Claims'
pSelectlist.FormList (Claims)
'Saving the List
 pSelectlist.SaveList ("CLAIMS")
'Retrieving the list and making it the active Select List
 pSelectlist.GetList ("CLAIMS")

 'Execute sort command on this select list
        Set pCommand = UniDataDB.Command
        pCommand.Text = "SELECT CLAIMS BY CLAIM_TYPE BY SENDER_ID BY
BILLPROV_ID BY SUBMITTER_ID BY SUBSCRIBER_ID BY PATIENT_ID"
        pCommand.Exec
        If pCommand.Error = UVE_NOERROR Then
        'Getting the new sorted List
        Set pSelectlist = UniDataDB.SelectList(0)

Martin Scholl
President Martin Scholl Consulting, Inc.
http://www.hipaasuite.com/
mailto:[EMAIL PROTECTED]
18910 New Hampshire Ave
Brinklow, MD 20862
301-924-5537  Phone
301-570-0139  Fax
301-613-9572  Cell

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Martin Scholl
Sent: Thursday, March 11, 2004 10:37 AM
To: U2 Users Discussion List
Subject: UniObjects: Executing a Command on a SaveList

I am stuck with the following problem:

I have a bunch of record Ids, that I need to sort.
I thought of Creating a SaveList,
Then GetList and executing a command.

The problem I have is that the command works on the whole file and not on
the few records in the SaveList.

How can I make sure that I only work with the record Ids that I want to
sort?

Martin Scholl
President Martin Scholl Consulting, Inc.
http://www.hipaasuite.com/
mailto:[EMAIL PROTECTED]
18910 New Hampshire Ave
Brinklow, MD 20862
301-924-5537  Phone
301-570-0139  Fax
301-613-9572  Cell



--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to