Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 a 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.