` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 29, 2024, 10:24 am
This article has been viewed 35110 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: