Thread #
536506 should give you some ideas.
HTH
Dan
>Hi folks...
>
>Is there an easy way to temporarally disable Referential Integrity in a Database Container (for certain tables)?
>
>I mean, if there is RI code in the Stored Procedures (generated by the Internal RI builder), like __RI__DELETE_orders...
>
>and I want to delete Orders and the Order Items MYSELF, without going through the slow RI code, how can I tell Foxpro NOT to use the RI code... let me do it myself, then when done, have the RI code turned back on like it was before?
>
>Thanks!
>Tommy