PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Triggers
Triggers
Iniciado por guest, 09,mar. 2016 19:36 - 4 respuestas
Publicado el 09,marzo 2016 - 19:36
Hi All

I have described a trigger in a WD app. The trigger is meant to fire a procedure when a field in a database is edited. it does not work - it does not trigger.

Any ideas? Have any of you actually used triggers like this?

Any ideas welcome.

Cheers
André
Publicado el 09,marzo 2016 - 21:38
Are you using HDescribeTrigger()? Any relevant code we can look at?
Publicado el 10,marzo 2016 - 02:34
Hi Curtis

Made more progress on this and decided not to use them for this specific operation. I did discover what the problem was though - we are not using H files and there is not stored procedure in the database.

Thanks for responding.

Cheers
Andre
Publicado el 11,marzo 2016 - 20:06
if you use HDescribeTrigger you can use triggers for HF or some other database type as long as you use hadd/hmodify..... functions.

If you use insert/update/delete you can't use this kind of triggers.
Publicado el 13,marzo 2016 - 12:01
Hi Paulo

Thank you so much. Will remember that.

Cheers
André