Welcome! Log In Create A New Profile

Advanced

How to change the title of the 3rd column in the table (webdev/php)?

Posted by Marijan Tomasic 
How to change the title of the 3rd column in the table (webdev/php)?
January 11, 2023 01:38PM
How to change the title of the 3rd column in the table (webdev/php)?
similar to the example below, just access the column name by index, not by name:

TABLE_mytable.COL_Column3.Caption = "Caption3" 
Re: How to change the title of the 3rd column in the table (webdev/php)?
January 19, 2024 12:50PM
Does anyone know this?
Al
Re: How to change the title of the 3rd column in the table (webdev/php)?
January 19, 2024 01:25PM
Hello Maijan,

The table options to reference items in code appear to be very limited in Webdev, however if you can find a way to trigger a colum3 browser code event conditionally, you can use the "Myself" constant to make the change.

Myself..Caption = "Caption3" as code, anywhere in a column 3 browser event does work.

Regards
Al
try with double point after COL_Column3
TABLE_mytable.COL_Column3..Caption = "Caption3"
pao
Re: How to change the title of the 3rd column in the table (webdev/php)?
January 19, 2024 01:27PM
You can get the name of the column using the TableEnumColumn function. [doc.windev.com]

Regards

Paulo Oliveira
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: