Hi,

I wanted to use the dataLabel tag to display a specific data from the DB.

Reading the description of this tag, I understood that you can extract any
data from the DB if you use an embedded tag, for example queryData.

Consider this :

<db:dataLabel fieldName="FORM_TITRE">
    <db:queryData name="qu" query="select FORM_TITRE from FORMATION where
FORM_CODE='INSS'" />
</db:dataLabel>

This piece is included inside a dbForm tag, which is linked to the FORMATION
table. But it doesn't work as expected : whatever FORM_CODE used, it always
returns the FORM_TITRE of the current row, and not the row selected by the
query.

So, is it a misunderstanding of dataLabel tag, or anything else ?

Thank you.
--
Thomas



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to