Wednesday, March 28, 2007

Tip of the Day: Managing Table Properties on Demand

Supported Versions:

. R:BASE 7.6 for Windows (Build: 7.6.1.30323 or higher)
. R:BASE C/S:I 7.6 for Windows (Build: 7.6.1.30323 or higher)
. R:BASE Turbo V-8 for Windows (Build: 8.0.15.30323 or higher)

Did you know that you can manage table properties on demand
while using the form in ENTER, EDIT or BROWSE mode?

Imagine a situation where you have one multi-table form, and
you wish to manage all related controls for a specific table,
based on certain conditions, such as network user.

Conditionally, depending on the logged in user, you may enable
or disable all controls related to any table without knowing
the individual Component IDs.

Using the "PROPERTY TABLE tablename DISABLECONTROLS" or
"PROPERTY TABLE tablename ENABLECONTROLS" commands, you may
manage the status of any table as deemed necessary.

Use the following PROPERTY commands as "On After Start EEP":

-- To disable all controls related to given table
   PROPERTY TABLE tablename DISABLECONTROLS
   RETURN

-- To enable all controls related to given table
   PROPERTY TABLE tablename ENABLECONTROLS
   RETURN

Here's a comprehensive list of all supported table properties:

. ENABLE_DELETE_ROWS
. ENABLE_ADD_NEW_ROWS
. DISABLE_DELETE_ROWS
. DISABLE_ADD_NEW_ROWS
. UPDATE
. CLOSE
. DISABLECONTROLS
. ENABLECONTROLS
. OPEN
. EDIT
. NEXT
. PRIOR
. LAST
. FIRST
. INSERT
. APPEND
. DELETE
. POST
. CANCEL
. REFRESH
. JUMPTO
. JUMP
. SEARCH

For complete details and building the syntax, refer to R:Docs 7.6,
to be released soon.

Very Best R:egards,

Razzak.

--- 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.
================================================

Reply via email to