Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 December 3, 2024, 12:12 pm This article has been viewed 35230 times.
|
|