PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → How to access a table column in browser code?
How to access a table column in browser code?
Started by Stefan, Jan., 05 2023 5:14 PM - 1 reply
Registered member
23 messages
Posted on January, 05 2023 - 5:14 PM
Hi all,

When upgrading a very old webdev project (version 19) to Webdev 27 I encounter an issue:

In the old project the following browser code event works perfectly:

Click On Tablename (on click browser event)
IF Combo_Box= 1 AND Tablename.ColumName = True THEN ...
code to be executed
END
(Tablename.ColumName is a boolean field in the table)

However Webdev 27 returns a compilation error stating the IF clause cannot be executed:

Error: The 'Tablename.ColumName' control is a table column: it is not accessible in browser code.


What is the proper way of accessing table information via browser code in WebDev 27?

Thanks!
Registered member
5 messages
Posted on January, 27 2023 - 9:00 PM
If the TABLE is not a BROSER TABLE just use AJAXEXEcute...