That sounds very easy! Is there a list of similar items such as .RBTI_FORM_COLVALUE?

Michael Sinclair, MD
www.epilution.com
(\__/)
(='.'=)
(")_(")


On Jun 20, 2009, at 10:50 PM, "A. Razzak Memon" <[email protected]> wrote:

At 10:10 PM 6/20/2009, Michael J. Sinclair wrote:

I would like to click on a cell and get the value from that cell
to go into a variable to be displayed elsewhere on the form.


IF .. you are using the latest versions and builds of R:BASE 7.6
Update 7 (Build: 7.6.7.30515 and higher) for Windows, and R:BASE
Turbo V-8 Update 21 (Build: 8.0.21.30515 and higher) for Windows,
THEN .. follow the steps below .. ENDIF.

While in Form Designer, select the DB Grid Control, press [F11]
for DB Grid Control Properties, and then click on EEPs.

Use the following code as Custom EEP for "On DB Grid Cell Click":

SET VARIABLE vCellValue = (.RBTI_FORM_COLVALUE)
RETURN

This will return the current value from that cell into a variable,
vCellValue.

Then, do what you need to do to achieve your goal.

That'a all there is to it!

Very Best R:egards,

Razzak.




Reply via email to