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

Re: getting out of a loop by Fred

Fred
Sat Oct 08 00:52:26 CDT 2005

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



Re: getting out of a loop by Hutch

Hutch
Sat Oct 08 01:04:55 CDT 2005

Fred,

I was thinking of the Autoyeild
but your answer took me there.

Thank you,

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



Re: getting out of a loop by Hutch

Hutch
Sat Oct 08 10:28:08 CDT 2005

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



Re: getting out of a loop by Eric

Eric
Sat Oct 08 12:55:57 CDT 2005

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



Re: getting out of a loop by Fred

Fred
Sat Oct 08 13:07:37 CDT 2005

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



Re: getting out of a loop by Hutch

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



Re: getting out of a loop by Eric

Eric
Sun Oct 09 05:16:46 CDT 2005

of course... thank you for the fix.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts
Microsoft MVP for Visual FoxPro

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