Hi there,
I've got to redefine the update and delete triggers on an app I'm working on. I want to enable user-confirmed cascading deletion on some tables and archiving on another.
(I can't use the built-in cascading because I'm making a French application with an English version of VFP, and I want to offer the user the possibility to back-off when he realises the number of deletions concerned for a parent record deletion, with French dialogs...)
Now the problem isn't with the coding; I know I can cope with that. I just don't know what is expected from those table triggers, i.e.: are they supposed to just validate if the operation is possible, then return the result as a boolean and let VFP delete the concerned record(Do I put a "DELETE" statement in the trigger or just return the result of the validation)? Am I supposed to have the triggers handle the modification/deletion or just tell VFP whether it's OK or not to proceed?
Another thing, where is stored the database path in the Registry entries of a deployed application? My application will be installed on several PCs with a single instance of the DB on a shared directory, but there's is no server involved.
Thank you all,
Pascal Marier-Dionne,
Programmer