PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Prime fields and triggers
Prime fields and triggers
Débuté par W. van der Horst - Sabra Systems, 16 mai 2017 15:22 - 1 réponse
Posté le 16 mai 2017 - 15:22
Dear all,
I studied the trigger example but I can't make cholate of it. I want to 'prime' (fill fields with preset data) when opening a window for inserting a new record.
I could use a trigger but where in the project explorer do I add a trigger? I only see a global procedure but no idea how it fired.
Best regards,

Walter
Posté le 16 mai 2017 - 16:34
Hi

triggers are file operation related (ie they fire when adding a record
or modifying a record...)

They are NOT window related, so what you want to do should be done in
the window init code.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 5/16/2017 à 7:22 AM, W. van der Horst - Sabra Systems a écrit :
Dear all,
I studied the trigger example but I can't make cholate of it. I want to
'prime' (fill fields with preset data) when opening a window for
inserting a new record.
I could use a trigger but where in the project explorer do I add a
trigger? I only see a global procedure but no idea how it fired.
Best regards,

Walter