` Testing for batch or standard insert mode (Jim Katz ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Testing for batch or standard insert mode
2001-03-13 -- Jim Katz
 
> UpdateForm X allows for recursive inserts. Now, in which embed to put some > control initialising code, to execute at beginning of UpdateRecord AND > BatchInsert mode. I specifically want to set the state of an entry control > every time the form is called for BatchInsert or normal Update, based on the > existing (or default value) of an checkbox field: > ?PRE:Entrycontrol{prop:disable}=CHOOSE(PRE:Checkbox=1,false,true) > PRE:Checkbox is a table field and defaults to 0 (false) In the Form's Windomanager' Init method test for Self.InsertAction. It will return Insert:Batch for recursive inserts, Insert:Caller for normal inserts.


Today is April 28, 2024, 12:25 pm
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: