Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3003338
By: theo2005

I've tried with and without a hidden field, but nothin helps. The message is
coming.
As long as I could see, there are examples for subforms with (bookstore) and
without (all hidden fields in the dbforms distribution. My subform:
                                                                <db:dbform 
tableName="abc_user_2_lang" maxRows="4" parentField="id" 
                                                                
childField="user_id" autoUpdate="false"
followUp="/abc_user_single.jsp">
                                                                <db:header>
                                                                <table 
cellspacing="0" align="left" bgcolor="#000000" border="0">
                                                                </db:header>
                                                                <db:body 
allowNew="false">
                                                                        <tr 
class="clsEvenDataTableRow">
                                                                                
<td align="left">&nbsp;
                                                                                
<db:dataLabel fieldName="sprach_id">
                                                                                
<db:queryData name="sprach_query" query="SELECT id, sprache from
abc_sprachen"/></db:dataLabel>
                                                                                
</td>                                                                           
                                                                                
<td align="left">&nbsp;
                                                                                
</td>                                                                           
                                                                                
<td align="left">
                                                                                
<db:deleteButton style="border:0" src="dbformslib/icons/delete.gif"
alt="Eintrag löschen"
                                                                                
flavor="image" caption="delete" />
                                                                                
</td>
                                                                        </tr>
                                                                </db:body>
                                                                <db:footer>
                                                                        <tr 
class="clsEvenDataTableRow">
                                                                                
<td align="left">
                                                                                
<db:select fieldName="sprach_id">                                
                                                                                
<db:queryData
                                                                                
        name = "sprach_list" 
                                                                                
        query = "SELECT abc_sprachen.id, abc_sprachen.sprache FROM abc_sprachen
LEFT JOIN abc_user_2_lang ON abc_sprachen.id = abc_user_2_lang.sprach_id WHERE
abc_user_2_lang.sprach_id IS NULL"
                                                                                
        disableCache="true"/>
                                                                                
</db:select> 
                                                                                
</td>
                                                                                
<td align="left">
                                                                                
<db:insertButton showAlways="true" style="border:0"
src="dbformslib/icons/add.gif" alt="Sprache hinzufügen"
                                                                                
flavor="image" caption="Sprache hinzufügen" />                                  
                                        
                                                                                
</td>
                                                                                
<td align="left">&nbsp;
                                                                                
</td>                                                                           
                                                                        </tr>
                                                                </table>
                                                                </db:footer>
                                                                </db:dbform>

I must confess, that I'm not realy sure about the reason behind the hidden field
function ;-)
Thanks + regards theo


______________________________________________________________________
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

Reply via email to