` Printed Icetips Article

Icetips Article



Par2: Forcing browse to "select" closest record
1999-08-04 -- Jim Kane
 
The abc answer is you can do it either way. The way I do it is:

ThisWindow.Open PROCEDURE

! Start of "WindowManager Method Data Section"
! [Priority 5000]

! End of "WindowManager Method Data Section"
  CODE
  ! Start of "WindowManager Method Executable Code Section"
  ! [Priority 500]
  pre:sysid=3
  access:file.fetch(pre:key)
  brw1.selecting=1
  ! Parent Call
  PARENT.Open()
  ! [Priority 6300]
  brw1.selecting=0
  
  initially selects the record with a sysid of 3.



Printed November 21, 2024, 6:44 am
This article has been viewed/printed 35210 times.