` Priming locator (Dennis Evans ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Priming locator
2005-09-05 -- Dennis Evans
 
> I want to position the hightlight bar in a browse when it opens to a > certain record based on the value of a column. Example: the column is a > long and I want to put the highlight bar on the record with the number 44 > in > the column. How can I do this using the value 44 passed in as var called > xCustNo ? if the look up is sorted by the customer number then in the windowManager Init method, just after the browse class init call pre:keyField = parameter value brwX.startAtCurrent = true if not sorted by the customer number if there is a key on the customer number pre:keyfield = parameter value access:file.fetch(customer number key) brwX.startAtCurrent = true if no key and not sorted then if the look up is file loaded you can just locate in the queue, if not file loaded then change the parameter from just the customer number to the filed(s) that the look up is sorted by or at least has a key


Today is November 21, 2024, 3:47 am
This article has been viewed 35220 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: