But anyway how can i use the tag foreign-key that i defined in dbforms- config.xml??
I am not working with foreign keys (using mysql) so anyone else have an answer?
this is what i did and it works... but this as nothing to do with the query i
defined in config.
<db:dataLabel fieldName="tipo">
<db:tableData name="tipo_descricao" foreignTable="tabela_tipos"
visibleFields="descricao" storeField="id_tipo"/>
</db:dataLabel>
And .. i also did also did this inside dbforms-config.xml ... maybe is from
here that i acess to the field 'descricao' of table tabela_tipos.
<foreign-key name="FK_tabela_tabela_tipos" foreignTable="tabela_tipos" displayType="label"> <reference local="tipo" foreign="id_tipo"/> </foreign-key>
-- Shawn
Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
