I think you need to supply a little more detail here; do you have two
tables (it sounds like it might be necessary) - in which case, the
adding
of codes is a separate operation.

Derek

>>> [EMAIL PROTECTED] 07/03/2002 09:35:57 >>>
I have a program to let user add records to a table of "country" and
the
user has to input a new code for a new country. I have to check the
existenance of the new user input code in the database table, before
saving
inserting the new record.

What can I do?

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to