Hutch
Sat Oct 08 17:19:11 CDT 2005
thank you Eric and Fred for your help.
Hutch
--
---------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"
Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com
"Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
news:OoZZqMDzFHA.3408@TK2MSFTNGP09.phx.gbl...
> small change:
>
> IF NOT thisform.l_continueloop
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
> news:%23RYKiEDzFHA.3256@TK2MSFTNGP09.phx.gbl...
> > Here's some *untested* code to give you an idea:
> >
> > * sample loop
> > SCAN
> > DO yourthings
> > DOEVENTS
> > IF thisform.l_continueloop = .T.
> > EXIT
> > ENDIF
> > ENDSCAN
> >
> > * exit_button.Click()
> > thisform.l_continueloop = .F.
> >
> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts
> > Microsoft MVP for Visual FoxPro
> >
> > "Hutch Elassaad" <helassaad@comcast.net> wrote in message
> > news:DLSdneVga68VeNreRVn-qw@comcast.com...
> >> Fred,
> >>
> >> Do you have an example on how to use DOEVENTS?
> >>
> >> mine didn't work.
> >>
> >> Hutch
> >>
> >> --
> >>
> >>
> >> ---------------------------------------------------------------------
> >> "Are you still wasting your time with spam?...
> >> There is a solution!"
> >>
> >> Protected by GIANT Company's Spam Inspector
> >> The most powerful anti-spam software available.
> >>
http://mail.spaminspector.com
> >>
> >>
> >> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message
> >> news:%231zJ2x8yFHA.1256@TK2MSFTNGP09.phx.gbl...
> >>> DOEVENTS
> >>>
> >>> --
> >>> Fred
> >>> Microsoft Visual FoxPro MVP
> >>>
> >>>
> >>> "Hutch Elassaad" <helassaad@comcast.net> wrote in message
> >>> news:58idnZ7w8LwdgdreRVn-hA@comcast.com...
> >>> > hi all,
> >>> >
> >>> > what is the command to put in a loop that allows me to get out of
the
> >>> > loop.
> >>> > I have a loop that goes through about 120,000 records and I want to
be
> >>> > able
> >>> > to hit the Exit button and get out of the loop. I can't seem to
> >> remember
> >>> > the command that allows VFP to monitor events.
> >>> >
> >>> > Thanks
> >>> >
> >>> > Hutch
> >>> >
> >>> > --
> >>> >
> >>> >
> >>>
> ---------------------------------------------------------------------
> >>> > "Are you still wasting your time with spam?...
> >>> > There is a solution!"
> >>> >
> >>> > Protected by GIANT Company's Spam Inspector
> >>> > The most powerful anti-spam software available.
> >>> >
http://mail.spaminspector.com
> >>> >
> >>> >
> >>> >
> >>>
> >>>
> >>
> >>
> >
> >
>
>