Nice feature to help speed things up.

I like to get the form name in an OnAfterStart EEP, so assuming we can't turn the RBTI vars on/off individually, e.g.:
  PROPERTY APPLICATION *RBTI_FORM_FORMNAME *ON/OFF
would this work in an OAS EEP:
PROPERTY APPLICATION CAPTURE_RBTI_FORM_VARS ON
set var vFormName = .RBTI_FORM_FORMNAME
PROPERTY APPLICATION CAPTURE_RBTI_FORM_VARS OFF

Are all the relevant RBTI form vars populated as soon as the capture is turned on?

Thanks,
Doug

On 4/11/2019 11:05 PM, A. Razzak Memon wrote:
Friday, April 12, 2019

Tip of the Day: Optimize Forms by Stopping Automatic RBTI Variable Processing
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.1.30326 or higher
Section.......: Forms
Keywords......: PROPERTY, Processing, Variables, Setting, RBTI System Variables

Did you know you form processing may be further optimized by stopping the automatic
processing of RBTI form variables?

A newly added PROPERTY APPLICATION optimization parameter was introduced to specify
if RBTI variables are automatically processed.

PROPERTY APPLICATION CAPTURE_RBTI_FORM_VARS ON/OFF

The command toggles the environment condition if "RBTI Variables" (RBTI_*) processing
is enabled in forms. The value is ON by default.

If perhaps the variables are seldom used, or not at all, in an application, the form variable processing may be turned off. When OFF, form processing can improve as the
variables are assigned in almost everything performed within a form.

To take advantage of this optimization, set it to OFF upon the application startup. Then, turn it ON only in forms that use the RBTI_* variable values. Make sure the
property is turned OFF again when the form is closed.

The list of possible RBTI form variables that may be generated include the following:

RBTI_DBGRID_COLUMN
RBTI_DIRTY_FLAG
RBTI_FORM_ALIAS
RBTI_FORM_CLICKED
RBTI_FORM_COLNAME
RBTI_FORM_COLVALUE
RBTI_FORM_COMPID
RBTI_FORM_CTRLTEXT
RBTI_FORM_DATATYPE
RBTI_FORM_DBLCLKED
RBTI_FORM_DIRTYVAR
RBTI_FORM_FORMNAME
RBTI_FORM_MODE
RBTI_FORM_TBLNAME
RBTI_FORM_VARNAME
RBTI_FORM_VARVALUE
RBTI_FORM_DSGN
RBTI_FORM_EXT_DSGN

For details on each of the above RBTI variables, please review to the R:BASE Reference Index at the following chapter path:  Reference Index > System Variables > Forms

Very Best R:egards,

Razzak.

https://www.rbase.com
http://www.facebook.com/rbase/





---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to