Monday, December 23, 2013

Tip #2 of the Day: Implementing UINOTIF Setting
Product.: R:BASE eXtreme 9.5 (32/64)
Build...: 9.5.3.21205 or higher www.rupdates.com
Keywords: Commands, Settings, Performance, Optimizing Applications

If you have designed an R:BASE eXtreme 9.5 (32/64) application that
does NOT require the use of Database Explorer, such as compiled, or
runtime applications, you may use the following GETPROPERTY commands
to intelligently implement the UINOTIF setting accordingly.

GETPROPERTY APPLICATION ISCOMPILED varname

Will return a variable value to find out if the running application
is using the actual full version of R:BASE eXtreme 9.5 for Windows,
or is a compiled application. The resulting TEXT variable value will
be YES or NO.

GETPROPERTY APPLICATION ISRUNTIME varname

Will return a variable value to find out if the running application
is using the actual full version of R:BASE eXtreme 9.5 for Windows,
or is a runtime version of R:BASE. The resulting TEXT variable value
will be YES or NO.

-- Example 01 (Implementation in Compiled Applications)

   SET VAR vCompiled TEXT = NULL
   GETPROPERTY APPLICATION ISCOMPILED vCompiled
   IF vCompiled = 'YES' THEN
      SET UINOTIF OFF
   ENDIF
   RETURN

-- Example 02 (Implementation in Runtime Applications)

   SET VAR vRuntime TEXT = NULL
   GETPROPERTY APPLICATION ISRUNTIME vRuntime
   IF vRuntime = 'YES' THEN
      SET UINOTIF OFF
   ENDIF
   RETURN

Stay productive, my friends!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
www.RazzakMemon.com


Reply via email to