Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 19 MAR 1999 03:08:25PM S.Berger wrote:

I am looking for a way to pull out a distinct list. I have a table, PROTOCOL, in the table one of the fields is PI. THere can be many protocols that have the same PI. I want a list of all of the PI's that have a protocol, but I only want them to show up once each.

What do you think

S


At 22 MAR 1999 06:48AM Oystein Reigem wrote:

SB

Do you say you want a list of all the different values in a field? If that field is indexed you can do it programmatically with

list=Collect.IXVals(filename, fieldname)

that returns the list of index values for the specified indexed field in the specified file, or

Extract_SI_Keys(tablename, columnname, value, keylist)

that searches a Btree index for a specified value and returns a list of keys based on the search value.

(Or you might perhaps use a relational index.)

- Oystein -


At 22 MAR 1999 12:34PM SBerger wrote:

Thanks, that first one sounds like what I am looking for.

S


At 22 MAR 1999 02:01PM Oystein Reigem wrote:

SB,

It's fine as long as you haven't got *too* many values.

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/5655141785e6ce85852567390069243d.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1