[comp.sys.mac] 4D Programming question

yvw@gmdzi.UUCP (Yvo Van Wezemael) (10/27/88)

I have a simple question, but no simple answer:

How can I make some special record the current record of a selection?

Scenario: I present the current selection with DISPLAY SELECTION(*),
the user select one line and then clicks some accept-button. So now
UserSet contains this selected record. I just want to make this record
the current record in the selection I presented.
A very expensive solution is to save the selection, then use UserSet,
record the value of some unique field, use the saved selection,
iteratively step through the selection until you reach the record with
the saved value. But this takes too much time...

Thanks for any suggestions	---	Yvo


-- 
Yvo Van Wezemael:
	German National Research Laboratory for Computer Science (GMD)
        P.O. Box 1240 (Schloss Birlinghoven)   D-5205 Sankt Augustin 1
	phone: (+49 2241) 142422	yvw@gmdzi.UUCP