Fritz,

 

You can make it a lot simpler. In the Top Menu select Variable>>Add/Edit
variable, and then define a variable equal to column 1 (or any other
columns) in the grid. The variable will always have the value of column 1
for the row/record you are in.

If you are trying to use the GETPROPERTY command use the actual component ID
instead of <DBGrid1> 

 

Javier,

 

Javier Valencia, PE

O: 913-829-0888

H: 913-397-9605

C: 913-915-3137

 

From: [email protected] [mailto:[email protected]] On Behalf Of Dr. Fritz
Luettgens
Sent: Monday, November 25, 2013 1:03 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - DBGrid GETPRPROPERTY Command for Cell-Value

 

Hi,

I want to bring the value of any cell in colum1 within a dbgrid with a
mouseclick into a variable.

Idea is to click on a cell and the variable takes over the text value,

but cannot find the proper syntax. 

 

On DB Grid Cell Click EEP:

 

RECALC VAR

GETPROPERTY <DBGrid1> "COLUMNS[0]->FIELDNAME" "variable"

RETURN

 

Fieldname is definitely wrong, something like cellvalue is what I look for.

I am sure there is a GETPROPERTY command,

but just can´t see it,

 

Thank´s

Fritz

Reply via email to