Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

OLE.CELLCHECK

edited November 2019 in SRP EditTable Control
Hello,

I'm having some difficulty retrieving the value of a check box embedded in an edit table cell.

Not sure what I'm doing wrong and would appreciate some advise or example.

Thanks,
Charlie Engler

Comments

  • Can you post the code you are trying to use?
  • DECLARE FUNCTION GET_PROPERTY
    DECLARE SUBROUTINE SET_PROPERTY

    COLUMN=FIELD(PARAM1,";",1)
    ROW=FIELD(PARAM1,";",2)

    VALUE=GET_PROPERTY(CTRLENTID,"OLE.CELLCHECK[COLUMN;ROW]")

    *** Do some processing with VALUE

    RETURN 0
  • edited November 2019
    If your code snippet is exactly what you have in your system then the problem is that you forgot to separate your COLUMN and ROW variables out of the quotes. This is what it should look like:

    VALUE=GET_PROPERTY(CTRLENTID,"OLE.CELLCHECK[":COLUMN:";":ROW:"]")
  • Can't believe I copied/pasted from my templates without modifying the code.

    Works ok when I format it properly.

    Charlie
Sign In or Register to comment.