🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #33798

4D Programming question

#33798
From: Yvo Van Wezemael
Date: Thu, 27 Oct 1988 07:58
21 lines
1316 bytes
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 
Technical Details
Message-ID: <847@gmdzi.UUCP>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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