----- Original Message ----- From: "Doug Hamilton" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Thursday, April 07, 2005 7:52 PM 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? If it is a row level issue, I use a Run Select command from a table containing all my run selects. In your case the run select code in the table would be your GetProperty command on one line followed by a Recalc variables and a Return statement. Then on the "Add or Remove Tables" toolbar button>Select Tables>Table Settings>On Row Entry EEP edit box, Place the following on the Select SomeVarcharDate From SomeTableContainingYourCode wher TheRowIdentifier = 'YourCommandName' And the GetProperty will execute on Row Entry... > > Version 7.1.80.30228. > > Doug >
