Xref: utzoo comp.sys.mac:22195 comp.sys.mac.programmer:2950 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!unido!gmdzi!yvw From: yvw@gmdzi.UUCP (Yvo Van Wezemael) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: 4D Programming question Keywords: current record / current selection Message-ID: <847@gmdzi.UUCP> Date: 27 Oct 88 07:58:56 GMT Organization: Forte Research Group Lines: 20 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