` Pre-selecting start point in a browse (Bill Owen) - 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  

ABC: Pre-selecting start point in a browse
1998-11-17 -- Bill Owen
 
Newsgroups: topspeed.products.c5ee > >When I enter a browse from a menu selection, I want to pre-select the > >record which appears as selected. ... > Try... > PYR:AutoInc = G:CurrentPayer ! Prime the key > ! Access:Payer.Fetch(PYR:KeyAutoInc) ! Get the record, clears on failure > ! BRW1.ResetFromFile ! Refill queue > BRW1.ResetFromBuffer() ! Reset from current value Thanks for the assistance. When I couldn't make BRW1.ResetFromBuffer() work I went looking in the manuals again and stumbled over the solution. As I told a friend yesterday, it would be a 3 line no-brainer in COBOL and probably just as simple in CW. Here it is: BRW1:StartAtCurrent = True PYR:AutoInc = G:CurrentPayer Access:Payer.Fetch(PYR:KeyAutoInc) place it in the ThisWindow.Init procedure embed point 7600 (after the files are open AND before the browse initialization). -- Bill


Today is November 21, 2024, 3:36 am
This article has been viewed 35335 times.
Google search has resulted in 8 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: