List Info

Thread: Combo boxes, tables and forms




Combo boxes, tables and forms
country flaguser name
Spain
2007-08-24 03:38:37
I would like to build a form with its data source table, but having a combo box that takes the data from another table and stores it in the form data source table. How can I do it? Until now, I have only seen combo boxes that take the data from the same form's data source. Could you help me?
Best regards,

Dani
Re: Combo boxes, tables and forms
country flaguser name
Poland
2007-08-24 03:49:30
Dani Valverde pisze:

> I would like to build a form with its data source
table, but having a
> combo box that takes the data from another table and
stores it in the
> form data source table. How can I do it? Until now, I
have only seen
> combo boxes that take the data from the same form's
data source. 

Hello,
Have you seen this example?
http://kde-files.org/content/show.php/Simple+
Database?content=23137

You can pick _other_ table which contain column that you
display in the combo 
box contents. After each selection made in the combo widget,
this is in effect 
no less than copying the data (so called bound column,
usually and ID) from 
the "other" related table to the table being data
source of your form.

If you're looking for something more complicated, please
explain this using 
detailed example or so.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice
.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
_______________________________________________
Kexi mailing list
Kexikde.org
https://ma
il.kde.org/mailman/listinfo/kexi

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )