Hi Siegfried,
I have the following code in all my browses to point immediattely on the right record.
if ThisWindow.Request = selectrecord
?select{prop:default} = 1
FLUSH(BRW1.View)
clear(art:record)
art:artikelnr = glo:fromfilefield
set(art:artikelnrkey,art:artikelnrkey)
loop
next(artikele)
break
.
if art:omschrijving
BRW1.ResetFromFile
.
.
Op dinsdag 11 februari 2020 18:06:46 UTC+1 schreef Siegfried Geryl:
I would like the selector on a second browse, stay synchronised with a first browse.
I embed next (very slow code) in the 'New Selection Embed'
Any idea to do this in a better, faster and much smarter way? (by the key_name)
--------------------------------------------------------------------- BRW12.Takescroll(EVENT:ScrollTop) ! Go to top
Done# = FALSE
LOOP UNTIL Done#
IF BRW12.Q.Plu:Nummer <> BRW9.Q.Dop:Plugins
BRW12.Takescroll(EVENT:ScrollDown) ! Scroll 1 line down
ELSE
Done# = TRUE
END!IF
END!LOOP ---------------------------------------------------------------------
Regards,
Siegfried Geryl Belgium
C11 - Windows 10
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)