Hi again
After reading your email I don't believe you can do what you are attempting.
The Getproperty command will retrieve a value from a dbedit or other field
with a value and place it in the variable that you have chosen(vfTaxKey),but
not from a component ID. You would use the Component ID with the Property
command to place the value into the field. You would also want to make sure
you were calling from the form associated with the table.

Francis Yount


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hamilton
Sent: Thursday, April 07, 2005 7:53 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - GetProperty doesn't work

  I know this is a thread from last week or so, but GETPROPERTY still 
doesn't work for me in this EEP:

TRACE
GETPROPERTY CIDTaxKey TEXTVALUE 'vfTaxKey'
RETURN

CIDTaxKey is the ComponentID of a DBEdit for text column TaxKey in the 
table CustList.
vfTaxKey is defined as text = null before the form is called.
RStyle says "(7) Not a valid command: GETPROPERTY"  Gimme a break, I 
copied it from the RDocs clipboard!
I double-checked the componentID - no hidden spaces, even the casing 
matches.
I tried with and without quotes around 'vfTaxKey'
The form is a one-table form with a bunch of DBEdits and a DBMemo.
I've tried the EEP as an On-After-Start form EEP, On-Row-Entry table 
EEP, and as an On-Entry-Into EPP in the first field of the form.

Code to call the form is:
EDIT USING CustMaint +
  WHERE &vWhere ORDER BY TaxKey 

There is a DB Navigator control on the form and when I use the Next and 
Previous buttons, vfTaxKey evaluates properly as an On-Row-Entry table 
EEP after the first row.

I also tried a PROPERTY TABLE CustList REFRESH per the "Update row in 
form" thread (getting desparate or what?)

How do I get it the value of TaxKey in the very first row before user 
edits the form?

Version 7.1.80.30228.

Doug

Reply via email to