Dear sir/madam, Functions run automatically when creating a new ledger or altering existing using the following code: Code: [#Form: Ledger] Add : On : At End : Form Accept : Yes : CALL : somefn On: Form Accept:Yes: Form Accept [Function:somefn] However, I would like to know a way to call functions only when creating a new entry, not at the time of alteration. Please also let me know the wise versa condition, i.e., call functions at the time of alterations only and not when creating new entries. Thank you!
[#Form: Ledger] Add : On : $$IncreateMode: Form Accept : Yes : CALL : somefn1 Add : On : $$InAlterMode: Form Accept : Yes : CALL : somefn2 On: Form Accept:Yes: Form Accept
[#Form: Ledger] Add : On : $$IncreateMode: CALL : somefn1 Add : On : $$InAlterMode: CALL : somefn2 On: Form Accept:Yes: Form Accept
[#Form: Ledger] Add : On : Form Accept : $$IncreateMode: CALL : somefn1 Add : On : Form Accept :$$InAlterMode: CALL : somefn2 On: Form Accept:Yes: Form Accept