Gustav Brock
gustav at cactus.dk
Wed Sep 1 12:59:41 CDT 2004
Hi Francisco It's not quite the same. The counter counts to one, then runs your code. No Timer fiddling. /gustav > just the same I did it as a boolean static > so > Static blnINIT As Boolean > IF blnINIT = FALSE then > <code> > blnINIT = TRUE > Endif > On Wed, 1 Sep 2004 19:11:43 +0200, Gustav Brock <gustav at cactus.dk> wrote: >> Hi Francisco >> >> > Why a counter? >> >> Form loads => 1 >> Form hits current first time => 2 >> >> So: >> >> If lngCounter = 2 then >> <your code> >> End If >> lngCounter = lngCounter + 1 >> >> /gustav >> >> >> But replace the Boolean with a counter: one, two ...