Kbase 13310: Selecting all records in a browse is NOT support in V7.3
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Selecting all records in a browse is NOT support in V7.3
This is enhancement request 94-08-12-002. User was looking for a way
to select all the records in a browse, similar to the "select all" in
the UIB which is implemented with a selection list.
The problem with the existing browser methods is that they work only
with records already in the viewport; if you want to "select all" you
have to be able to scroll to a record which is both out of the
viewport and not already selected. (You can only scroll to a record
outside the viewport only if it is already selected.)
In version 7.3A, therefore, there appears not to be a workaround. If
contact us with one, please add it to this knowledgebase and to the
bug in the bugdb!
However, in version 7.3B we are now able to apply 'cursor-down' to
put focus on a row and then we can use select-focused-row method to
actually select that row.
def var i as int.
def var j as log.
repeat i = 1 to 50:
apply "cursor-down" to browse-1 in frame frame-a.
j = browse-1:select-focused-row().
end.
Progress Software Technical Support Note # 13310