At 02:03 PM 6/23/2005, Bernie Lis wrote:
So shouldn't it be available as soon as I enter that row?
Bernie,
Let me help you understand the GETPROPERTY command to get the
value of any given column with properly defined Component ID.
Follow the steps below:
01. Start the latest version of RBG7 or RBG75
02. CONNECT ConComp
03. Database Explorer | Forms | CustomerEnter | Design Form
04. Form Designer | DB Controls | DB Edit ...
Place the "DB Edit" control on the form and associate it
with the CustID column in Customer table.
Assign the Component ID as "cCustID"
05. Place a "Static Text" control with the following properties:
Caption: "Static Text"
Component ID: cCustIDLabel
06. Now place a "Bit Button" control with the properties as
following:
Caption: "Get Value"
EEPs | Edit Custom EEP:
GETPROPERTY cCustID TEXTVALUE 'vCustIDValue'
PROPERTY cCustIDLabel CAPTION .vCustIDValue
RETURN
07. Save the form and close Form Designer
08. At the R> Prompt:
EDIT USING CustomerEnter (with existing CustID)
Click on the "Get Button"
Notice the value displayed for DB Edit and Static Text controls.
09. At the R> Prompt:
ENTER USING CustomerEnter (with new auto-numbered CustID)
Click on the "Get Button"
Notice the value displayed for DB Edit and Static Text controls.
Hope that gives you an idea of how to use GETPROPERTY command.
Let me know if need a sample to understand the GETPROPERTY command.
Very Best R:egards,
Razzak.
P.S. My lack of knowledge and experience shall NOT constitute a bug
in *any* product.