PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
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
Connect yourself…
Stefan
#1
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!
Report
0
0
GALIMBERTI
#2
Registered member
5 messages
Posted on January, 27 2023 - 9:00 PM
If the TABLE is not a BROSER TABLE just use AJAXEXEcute...
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text