<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>10 Apr 2015 22:17:38 Z</lastBuildDate><pubDate>27 Mar 2015 20:55:49 Z</pubDate><description>Hello,&#13;
&#13;
I am trying to find the best way how to fill combobox with Employees names of certain Company.&#13;
&#13;
I have 3 database files. ORDERS, COMPANIES, EMPLOYEES.&#13;
&#13;
I have a window with quite typical layout - on the top is Table, below are fields, Table and fields are linked to ORDERS. When you click on a table row (each row is one order), fields are filled with appropriate data from ORDERS, COMPANIES, EMPLOYEES. I use linking from visual editor. Please see a picture of my window.&#13;
&#13;
http://hostimage.windev.io/images/Window2_6b1cea98f2efc6c9c18d6581235dd967.jpg&#13;
&#13;
I have a problem with combobox with Employee name. I want to fill it only with Employees from selected Company.&#13;
&#13;
For example: You select some order, this order contains Company called "Tiskap" and this company has 5 employees. But as you can see on my picture, combobox is filled up with ALL Employees of all companies. So question is how to fill combo with Employees only from "Tiskap".&#13;
 &#13;
Of course it must work when you click on another order with another Company, combobox should be filled with Employees from that another Company.&#13;
&#13;
Combobox is now linked also via visual editor with multi-file linking.&#13;
&#13;
I probably need something like "SELECT Employees.FirstName, Employees.Second FROM EMPLOYEES WHERE EMPLOYEES.KontaktID=COMPANIES.KontaktID"...&#13;
&#13;
&#13;
I hope I am clear enough and that somebody will help me.&#13;
&#13;
Thank you&#13;
&#13;
Regards&#13;
&#13;
Petr</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp</link><title>How to fill combobox from database</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51470/read.awp</comments><pubDate>10 Apr 2015 22:17:38 Z</pubDate><description>So, final solution with help of Fabrice is like this. There was a lot of small but important details to tune. Also, one importan…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51470/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51470/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51387/read.awp</comments><pubDate>7 Apr 2015 10:26:27 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
I am sorry, I probably explained myself wrong. I meant selecting code by user not by code.&#13;
&#13;
When USER select di…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51387/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51387/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51339/read.awp</comments><pubDate>3 Apr 2015 16:22:57 Z</pubDate><description>For now I will try to live with this code placed under TABLE event "Selecting a row of TABLE_Orders".&#13;
[code:wl]&#13;
HFilter(FirmyK…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51339/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51339/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51338/read.awp</comments><pubDate>3 Apr 2015 16:16:31 Z</pubDate><description>Hi Petr&#13;
&#13;
you are just making a common mistake... All these event are USERS event, &#13;
not program/code events...&#13;
&#13;
So if you se…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51338/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51338/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51337/read.awp</comments><pubDate>3 Apr 2015 14:30:30 Z</pubDate><description>Hi Fabrice,&#13;
thank you for your answer.&#13;
&#13;
Among the others I also tested this event "Selecting a row of ..." already before but…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51337/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51337/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51324/read.awp</comments><pubDate>2 Apr 2015 15:18:04 Z</pubDate><description>Hi Petr,&#13;
&#13;
You will put your hfilter in the code where the users changes the &#13;
condition... So it depends of your UI...&#13;
&#13;
In a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51324/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51324/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51323/read.awp</comments><pubDate>2 Apr 2015 14:53:30 Z</pubDate><description>Hi,&#13;
&#13;
I did tests, and for now I will stick with option 2 and I will see how it works during next development. So thank you aga…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51323/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51323/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51273/read.awp</comments><pubDate>31 Mar 2015 14:29:58 Z</pubDate><description>Thank you Fabrice,&#13;
&#13;
I will examine these ways and I hope I will be satisfied.&#13;
&#13;
WinDev is new for me and it is still difficul…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51273/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51273/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51272/read.awp</comments><pubDate>31 Mar 2015 14:09:34 Z</pubDate><description>Hi Petr,&#13;
&#13;
unfortunately, there is no BEST way... Only different ways that you can &#13;
use, and mostly it's a question of choice.…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51272/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51272/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51266/read.awp</comments><pubDate>31 Mar 2015 12:17:28 Z</pubDate><description>PETR_K wrote: &#13;
&#13;
Hello,&#13;
please is here anybody who could point me in a right direction?&#13;
&#13;
I have quite a lot of these combos …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51266/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database-51266/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51215-how-fill-combobox-from-database/read.awp">How to fill combobox from database</source><title>Re: How to fill combobox from database</title></item></channel></rss>
