<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>5 Feb 2018 13:01:00 Z</lastBuildDate><pubDate>5 Feb 2018 13:01:00 Z</pubDate><description>[WD21] Problem referring to file item controls&#13;
&#13;
I am doing a "form type" window with also a child file browsing table in it.&#13;
There is a product number entry field in the form (in a tab control), and there is also product number column in the table (the table is not in the tab control, it is below it). Both have the same label: "ProdNo", so in the code I refer to the form prodno with "WINDOWNAME.TABS.PRODNO" or "TABS.PRODNO" and to the table prodno with "TABLE.PRODNO". Both are linked to the same product file and item.&#13;
&#13;
According to my earlier experience with Windev, this should be sufficient to separate the ProdNos from each other in the code, but now, surprisingly, I notice that it isn't. WD does not care about the references to "WINDOWNAME.TABS.PRODNO" in the code at all, but reads the first "TABLE.PRODNO" in the child table instead of it!&#13;
&#13;
So, I changed the "TABLE.PRODNO" to TABLE.col_PRODNO", but this did not help either! Same problem as above.&#13;
&#13;
The only way to get over this weird problem was to re-name the "WINDOWNAME.TABS.PRODNO" to "WINDOWNAME.TABS.edt_PRODNO"! Only then the code works as expected!&#13;
&#13;
Has anybody else noticed this kind of weird behaviour? Or maybe I am missing something?&#13;
&#13;
Best regards&#13;
Ola</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64402-wd21-problem-referring-file-item-controls/read.awp</link><title>[WD21] Problem referring to file item controls</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
