<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 Feb 2018 12:36:00 Z</lastBuildDate><pubDate>8 Feb 2018 07:00:00 Z</pubDate><description>Hello,&#13;
&#13;
WD 22&#13;
&#13;
I want either to display fields in a table according to the setup value. I wrote code in init section to make few fields invisible, [the following code] but it didn't work out.&#13;
&#13;
Tablename.fieldname.visible = False&#13;
&#13;
But the same code works, if executed at click of a button. But I want it to be executed when the window opens up.&#13;
&#13;
Tried writing in end of init, focus gain of widow, but no effect.&#13;
&#13;
Where the code to be written to have the right effect ?&#13;
&#13;
Happiness always&#13;
BKR Sivaprakash</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp</link><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64475/read.awp</comments><pubDate>8 Feb 2018 12:36:00 Z</pubDate><description>Hi Sivaprakash,&#13;
&#13;
after you make the column visible again, please try ones to rightclick the tableheader and select 'Select col…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64475/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64475/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp">Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</source><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64474/read.awp</comments><pubDate>8 Feb 2018 12:28:00 Z</pubDate><description>You are placing the code before your table control has initialised? - check your Z order.&#13;
&#13;
Move the code to the 'End of initia…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64474/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64474/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp">Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</source><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64472/read.awp</comments><pubDate>8 Feb 2018 11:50:00 Z</pubDate><description>Not sure, whether AAF is having any role to play here ? I removed that conditional visibility altogether, still the field doesn'…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64472/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64472/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp">Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</source><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64471/read.awp</comments><pubDate>8 Feb 2018 11:47:00 Z</pubDate><description>Thanks Stefan&#13;
&#13;
But it's not working correctly for me.&#13;
&#13;
Info("alt lang", sAlternateLanguage)&#13;
IF sAlternateLanguage = "N" THE…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64471/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64471/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp">Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</source><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64462/read.awp</comments><pubDate>8 Feb 2018 07:37:00 Z</pubDate><description>Hi Sivaprakash,&#13;
&#13;
Tablename.columnname..visible = False&#13;
&#13;
works fine for me, also in declaration of the window.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64462/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible-64462/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64460-wd22-place-write-code-display-not-display-visible/read.awp">Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</source><title>Re: [WD22] Place to write code to display / not display [visible] of fields of a Table</title></item></channel></rss>
