Skip to Content
author's profile photo
Former Member

Table Control - Selective cell input

Hi all,

I am stuck with a problem with the table control. I want to change the Input attribute for a particular cell only and not for the entire column. An example is when creating a new Z table, we can click on "Data Element/Direct Type' button to enable/disable certain cells in different columns instead of the entire column.

So while the 1st row may have the Data Element cell ready for input and others as disabled, the other rows will have that column disabled and columns "Data Type", "Length" and "Dec. Pl." columns ready for input.

I've tried looping through the table control's int. table upto a desired row and then changing the INPUT attribute within the LOOP AT SCREEN loop, but to no avail. It affects the entire column. Plz help.

Regards,

Madhur

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Feb 04, 2005 at 12:00 PM

    Hi Madhur,

    Give me answers for some ques. for more clarification.

    U want only one cell disable from the whole column, right?

    In loop at screen r u using index with attribute name?

    Means if yr column name is emp_name then, r u disable column emp_name or emp_name(3), where index three specifies column field in third row. I think it will help u.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hey Charles,

      Thanks a lot man. Its simple logic, but did'nt strike me. Great going man! Really appreciate it. It really did solve the problem in one go.

      Take care,

      Madhur

  • author's profile photo
    Former Member
    Posted on Feb 15, 2005 at 06:01 AM

    Hi Madhur,

    I am also facing the same problem which you were. You are saying that your problem is solved but my problem is still unsolved. can you please tell me in detail about this ?

    I did it but it applied for whole column and not for cell.

    Regards,

    Sharad

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hey Sharad,

      Its great that Sunil managed to solve your problem. The logic really is simple. Its just that the Modify Screen is to be called from inside the loop. Then it applies only to the row that is being procesed currently 😊

      Thanks Sunil 😊

      Regards,

      Madhur