Saturday, January 10, 2015
Tip of the Day: Using New CHECKPROP Setting
Product: R:BASE eXtreme 9.5 (32/64)
Build..: 9.5.5.20109 or higher
www.rupdates.com
www.rbaseupdates.com (Mirror Site)
Section.: R:BASE Settings
Keywords: CHECKPROP
Prior to the official release of R:BASE eXtreme 9.5 (Update 5), any invalid or
mistyped PROPERTY/GETPROPERTY "property" keywords were ignored and no
validation
was performed to identify the invalid "property" value used.
Did you know that PROPERTY and GETPROPERTY command errors can now be
displayed if
a "property" value is invalid? This enhancement applies to both forms
& reports.
Syntax:
SET CHECKPROP ON/OFF
The default value is set to OFF.
A simple example to illustrate the use of this new setting:
Let's say your form On After Start EEP includes the following code:
PROPERTY <ComponentID> VISBLE 'FALSE'
RETURN
Notice the misspelled "VISBLE". The valid keyword however is "VISIBLE".
Before, this was ignored and the property keyword was never
validated. The users
will report this as a bug, because the PROPERTY command doesn't work. Really?
Using the latest Version and Update 5 of R:BASE eXtreme 9.5, Build:
9.5.5.20109:
SET CHECKPROP ON (the DEFAULT is set to OFF)
Now if you run the form with same misspelled property keyword, you will get an
-ERROR- Property 'VISBLE' not found in component <ComponentID> or the assigned
value is invalid.
This new setting will help you to revisit your code so that you can correct the
syntax as well as use a valid property command without wasting valuable time of
members of the eXpanded R:Dream Team to debug your forms and reports, etc.
Note:
The errors are only displayed if a new operating condition CHECKPROP is set ON.
(CVAL('CHECKPROP'))
Returns the current status of CHECKPROP setting.
SHOW CHECKPROP
Displays the current status of CHECKPROP setting.
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================