Here's a little weekend VFP question for everyone. I have an 
intermittent and very difficult to track problem with records being 
deleted from a particular form in my app. I know the deletion is not 
happening by the user clicking the delete button in the form in question 
because a column value gets updated with a sys(2015) as part of a normal 
delete and these deleted records retain their original value. So 
somewhere, somehow I have a rogue delete that is firing on the wrong 
work area. Unfortunately, I haven't been able to reproduce this error in 
my test environments so I thought that I could add a delete trigger that 
would fire off and do 2 things:  one would be to capture the current 
system state at that point in time including call stack, program/method, 
etc and log it for me and two would be to return false on the trigger 
and automatically recall/revert the deletion. I've done some very simple 
interactive testing and the idea seems to work except that I don't want 
the user getting a VFP dialog asking if they want to revert. I just want 
it to happen and then shoot me an email with the bad news. Googling the 
topic didn't bring back a great deal of useful examples but hey, that's 
why we have Profox...

TIA

-- 
Richard Kaye
Vice President
Artfact/RFC Systems
Voice: 617.219.1038
Fax:  617.219.1001

For the fastest response time, please send your support
queries to:

Technical Support - [EMAIL PROTECTED]
Internet Support - [EMAIL PROTECTED]
All Other Requests - [EMAIL PROTECTED]

---------------------------------------------------------
This message has been checked for viruses before sending.
---------------------------------------------------------



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** 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