Bill,

Here is a snippet of code that I place I use to look up customers and place 
it either the on-click or on-double-click eep

CLEAR VAR vTopItem
RECALC VARIABLES
GETPROPERTY CustList TOPITEM vTopItem
GETPROPERTY CustList CURRENTSORT vCurrentSort
IF (SLEN(.vCurrentSort)) < 1 THEN
   SET VAR vCurrentSort = 'CompanyName'
ENDIF
SET VAR vNewCustID INT = .vCustSelect --(used in EnterCustomer
PROPERTY RBASE_FORM TASKBARBUTTON 'FALSE'
EDIT USING Customers WHERE CustomerID = .vCustSelect
PROPERTY RBASE_FORM TASKBARBUTTON 'TRUE'
PROPERTY CustList REFRESHLIST 'TRUE'
PROPERTY CustList TOPITEM .vTopItem
RETURN

You can see where to change what you need.


Jan


-----Original Message-----
From: Bill Niehaus <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Sat, 14 Mar 2015 14:12:46 +0000
Subject: [RBASE-L] - Variable lookup list view


We have a variable lookup list view that pulls up several hundred rows to 
choose items from.  Once the item is selected it moves to a second variable 
lookup list view based upon a temporary table.

The users often pick items that are close to each other in the list, but 
each time they select an item, the cursor jumps to the top of the list of 
the first lookup view.  Is there a way to have the cursor stay close to it's 
previous position or select more than one item before moving them to the 
second variable lookup list view?

Thanks.

Bill Niehaus

Reply via email to