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.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================