Maybe use TRY/CATCH and handle the error?

Fred


On Wed, Dec 11, 2013 at 3:12 PM, Jeff Johnson <j...@san-dc.com> wrote:

> I guess I did not make myself clear.  I have an import object.  It has no
> interface and is based on a custom class.  It opens tables, does queries on
> sql server tables and then populates the tables and runs as a server so to
> speak. It does the import every 10 minutes.  I have been using this class
> for over 10 years and I am modifying a few things.  In my modifications I
> have done something wrong and I get an error.  I want to stop the process
> completely at that point, but can't figure out how to do it.  Does
> destroy() do that?  I am running it in a top level form.  Maybe clear
> events will work?
>
>
>
>
> Jeff
>
> Jeff Johnson
> SanDC, Inc.
> (623)-582-0323
>
> www.san-dc.com <http://www.san-dc.com>
> www.cremationtracker.com <http://www.cremationtracker.com>
> www.arelationshipmanager.com <http://www.arelationshipmanager.com>
>
>
> On 12/11/2013 3:07 PM, Stephen Russell wrote:
>
>> On Wed, Dec 11, 2013 at 3:34 PM, Jeff Johnson <j...@san-dc.com> wrote:
>>
>>  I'm kind of drawing a blank here.  I have a custom class that does an
>>> import from sql server to vfp.  If it creates and error, I can't seem to
>>> figure out how to immediately exit the class to I can check the error.  I
>>> have to way for it to finish or offer a three finger discount to kill it.
>>>   What is the proper way to "release" a class?
>>> ------------------------
>>>
>>>  Something sounds wrong.  How do you know you should exit?  Returning 0
>> rows
>> or you get a 0 back when it should return the ID #?
>>
>>
>>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>  text/plain (text body -- kept)
>  multipart/related
>    text/html
>    image/jpeg
>
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksoHaE8QWxG5+iFEk126bAfnErF_CLX=-+sr7yw7zuv...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to