` Printed Icetips Article

Icetips Article



ABC: Selecting field on a form at startup
1999-01-26 -- Steve Parker
 
Newsgroups: topspeed.products.c5ee

>Addition,
>
>  I meant to include this last evening, sorry.
>
>You can also change the value of the FirstField property.

BINGO!

Not only does this work (in addition to moving part of the code), it
is the closest to the way we have done this sort of thing in the past.

Therefore, the modified code in ThisWindow.INIT would look like:

   If LOC:pCode
     CTJ:pCode = LOC:pCode
     CTJ:Volume = LOC:Volume
     CTJ:Issue = LOC:Issue
     CTJ:Date = LOC:Date
     !Select(?CTJ:Author,1)
     SELF.FirstField = ?CTJ:Author  <===========
   End

Steve Parker



Printed May 7, 2024, 12:04 am
This article has been viewed/printed 35122 times.
Google search has resulted in 88 hits on this article since January 25, 2004.