Hi,

I'd like to display a foreign key in a textfield. Is that possible?

<table name="MYTABLE1">
                <field name="MYTABLE2_ID" fieldType="number" size="10" fkey="true"
ftable="MYTABLE2" vfield="MYTABLE2_DESCRIPTION" sfield="MYTABLE2_ID"/>

in the JSP (doesn't work - but it would nice):
<db:textfield fieldName="[EMAIL PROTECTED]">
  <db:tableData 
  name="[EMAIL PROTECTED]" 
  foreignTable="[EMAIL PROTECTED]" 
  visibleFields="[EMAIL PROTECTED]" 
  storeField="[EMAIL PROTECTED]" />
</db:textfield>

should I use the foreign-key tag in dbforms-config? how?

Thank you.

Regards,
Jan.

        

-- 
NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse f�r Mail, Message, More! +++



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
DbForms Mailing List

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

Reply via email to