Delete record in two different form
I create this scripts to add records between two different form:
if (input.Prestamo >= 0)
{
Add_Pay = insert into Pagos_del_Prestamo
[
Added_User = zoho.loginuser
Nombre_Prestamo = input.Nombre_Arbitros2
Prestamo_PP = input.Prestamo
];
}
if (input.Prestamo <= 0)
{
Add_Pay = insert into Pagos_del_Prestamo
[
Added_User = zoho.loginuser
Nombre_Prestamo = input.Nombre_Arbitros2
Prestamo_PP = input.Prestamo
];
}
Asignacion = insert into Asignacion_Mensual
[
Added_User = zoho.loginuser
Fecha_AM = input.Fecha
Nivel = input.Nivel_Manejo
Nombre_AM = input.Nombre_Arbitros2
Torneo = input.Torneos_MDE
];
But I need that when the record is deleted on the main form is deleted in the other form.