Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3076408
By: sandra81
Here my example :
<head>
<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Purchase</title>
<db:base/>
</head>
<body>
<db:dbform autoUpdate="false" followUp="/test.jsp"
tableName="alter_purchase_purchase" maxRows="2">
<db:select fieldName="id_supplier" onChange="this.form.submit();">
<db:tableData
name="id_supplier"
foreignTable="alter_directory_company"
visibleFields="name"
storeField="id_company"
/>
</db:select>
<db:select fieldName="ref_iph">
<db:queryData name="ref_iph"
query='<%= "SELECT DISTINCT ref_iph " +
"FROM alter_achat_produit " +
"WHERE id_supplier = " +
org.dbforms.util.ParseUtil.getParameter(request, "id_supplier", "-1")
%>'
/>
</db:select>
</db:dbform>
</body>
</html>
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=55830
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms