>Hi
>
>
>Using ADO connection, when I try to insert a record, VFP return the error "Trigger failed".
>
>The correspondent record in the parent table exist, but when try to insert a record in child table, get the error.
>
>If i try to insert from VFP(without ADO) this problem don't occours.
>
>
>Program Error
>Cancel
>Suspend
>Ignore
>Help
>OLE IDispatch exception code 0 from Microsoft OLE DB Provider for Visual FoxPro: Trigger failed in Jurosdiv...
>
What information do you get with aerror() ? Can you show us some code of inserting a record?
If it's not broken, fix it until it is.
My Blog