[AccessD] Prompt after Form loads

Gustav Brock gustav at cactus.dk
Wed Sep 1 12:34:03 CDT 2004


Hi Francisco

Sorry, should of course be:

  If lngCounter = 1 then
    <your code>
  End If
  lngCounter = lngCounter + 1

or

  lngCounter = lngCounter + 1
  If lngCounter = 2 then
    <your code>
  End If

/gustav


>> 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 ...




More information about the AccessD mailing list