On Fri, May 30, 2008 at 5:01 PM, Rafael Copquin <[EMAIL PROTECTED]> wrote:
> I confess I never used triggers or RI with VFP tables. I would rather use > my own logic and code whatever is needed to achieve the same result. > ------------------------------------------ Triggers are great for doing secondary things when a change is made. At the data level you can capture the change, evaluate if that change is what you are trying to deal with. Case in point I have data that is necessary to build a pre-manufactured data table used for a display later on in our process. I have to manufacture line #s to an order that do not exist as well as fkeys to point to other tables. Because this is all data, and data rules I use triggers to do it, and not bring that data up to another engine for processing. ------ > Another reason is that I prefer to have full control over my code, so I > write my own routines to deal with referential integrity. > ------------------------------------ I have full control of the code, sql or C# no matter. I am writing it. -- Stephen Russell Sr. Production Systems Programmer Mimeo.com Memphis TN 901.246-0159 --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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.

