Hi,

I would like to control key generation by macro when inserting a new row into a form with Base. But the risk is to execute twice insert action : the first with my handling insert event (I want to manage the mapping and use my own generated keys) and the second by the form base code automatically ....

So, if I set the property {AllowInserts = false}, do the Form stop to handling the insert but continue to fired /"Before Record Action"/ and /"After Record Action"/ events ? I think no, because the form could will not display the new line to insert ...

So I need to stop the handlind to the Form after my own into events. But I understand /"After Record action"/ event handling use a /"Sub"/ action not a /"function"/, so I can't return false after my handling ...

So how to do ?

Thank you for your help...
Patrick
/
/

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to