On Mon, 8 Mar 2004 19:06:20 +0000, Andrà Moniz <[EMAIL PROTECTED]> wrote:

Hi,
I have some doubts while using jdbforms ..
How can i get the value that i get with tableData inside a select tag but into
a label tag???
My select tag is this... how can i put the value 'descricao' found in a label??


<db:select fieldName="subtipo">
        <db:tableData                                                                
        name="subtipo"                                
        foreignTable="table_subtipos"                                         
        visibleFields="descricao"                                             
        storeField="id"
/></db:select>         

You can use embeddedData tags (ie tableData, queryData...) with <db:dataLabel> tag

For instance:

<db:dataLabel fieldName="ID_Priority">
<db:queryData name="aQuery" query="SELECT ID_Priority, Description from Priorities"/>
</db:dataLabel>


Is that what you mean?
--
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

Reply via email to