Hello,
I want to insert a new record using a form and initialize some fields without storing the record into the database (some required fields on the form).
This is the C/AL code I used on the event OnPush:
INIT;
CLEAR( “No.”); // Clear primary key
INSERT;
After the button is pushed the record is stored into the database even when the property DelayedInsert is set to yes.
Can someone help me?
Thanks,
Erik
0
Comments
Jan Hoek
Product Developer
Mprise Products B.V.
bud how must a fire this (onrewrecord) trigger so that the record is not stored into the database?
Jan Hoek
Product Developer
Mprise Products B.V.